bitboss-ui 0.2.1 → 0.2.3
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/BbTable/BbTable.vue.d.ts +21 -21
- package/dist/components/BbTable/types.d.ts +129 -68
- package/dist/index101.js +18 -18
- package/dist/index101.js.map +1 -1
- package/dist/index103.js +2 -2
- package/dist/index109.js +1 -1
- package/dist/index11.js +2 -2
- package/dist/index111.js +3 -3
- package/dist/index113.js +1 -1
- package/dist/index116.js +1 -1
- package/dist/index117.js +1 -1
- package/dist/index118.js +1 -1
- package/dist/index119.js +1 -1
- package/dist/index121.js +1 -1
- package/dist/index125.js +1 -1
- package/dist/index126.js +1 -1
- package/dist/index128.js +2 -2
- package/dist/index19.js +3 -3
- package/dist/index195.js +2 -2
- package/dist/index195.js.map +1 -1
- package/dist/index196.js +4 -2
- package/dist/index196.js.map +1 -1
- package/dist/index197.js +3 -4
- package/dist/index197.js.map +1 -1
- package/dist/index198.js +35 -3
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +6 -35
- package/dist/index199.js.map +1 -1
- package/dist/index200.js +2 -6
- package/dist/index200.js.map +1 -1
- package/dist/index202.js +2 -2
- package/dist/index203.js +5 -295
- package/dist/index203.js.map +1 -1
- package/dist/index204.js +16 -16
- package/dist/index204.js.map +1 -1
- package/dist/index21.js +2 -2
- package/dist/index210.js +2 -235
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +1 -1
- package/dist/index212.js +1 -1
- package/dist/index213.js +1 -1
- package/dist/index214.js +1 -1
- package/dist/index216.js +235 -3
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +10 -3
- package/dist/index217.js.map +1 -1
- package/dist/index219.js +3 -10
- package/dist/index219.js.map +1 -1
- package/dist/index220.js +3 -2
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +8 -27
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +115 -12
- package/dist/index222.js.map +1 -1
- package/dist/index223.js +27 -8
- package/dist/index223.js.map +1 -1
- package/dist/index224.js +12 -115
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +1 -1
- package/dist/index227.js +435 -2
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +82 -428
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +197 -86
- package/dist/index229.js.map +1 -1
- package/dist/index23.js +1 -1
- package/dist/index230.js +6 -200
- package/dist/index230.js.map +1 -1
- package/dist/index231.js +2 -6
- package/dist/index231.js.map +1 -1
- package/dist/index232.js +295 -2
- package/dist/index232.js.map +1 -1
- package/dist/index241.js +2 -2
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +61 -154
- package/dist/index242.js.map +1 -1
- package/dist/index243.js +2 -2
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +154 -61
- package/dist/index244.js.map +1 -1
- package/dist/index245.js +2 -224
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +2 -258
- package/dist/index246.js.map +1 -1
- package/dist/index247.js +224 -2
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +258 -38
- package/dist/index248.js.map +1 -1
- package/dist/index249.js +38 -2
- package/dist/index249.js.map +1 -1
- package/dist/index25.js +2 -2
- package/dist/index250.js +2 -2
- package/dist/index250.js.map +1 -1
- package/dist/index251.js +2 -3
- package/dist/index251.js.map +1 -1
- package/dist/index252.js +1 -1
- package/dist/index253.js +3 -2
- package/dist/index253.js.map +1 -1
- package/dist/index254.js +5 -0
- package/dist/index254.js.map +1 -0
- package/dist/index29.js +2 -2
- package/dist/index31.js +2 -2
- package/dist/index33.js +2 -2
- package/dist/index35.js +2 -2
- package/dist/index47.js +1 -1
- package/dist/index49.js +1 -1
- package/dist/index65.js +2 -2
- package/dist/index69.js +2 -2
- package/dist/index72.js +1 -1
- package/dist/index75.js +1 -1
- package/dist/index79.js +2 -2
- package/dist/index8.js +60 -60
- package/dist/index8.js.map +1 -1
- package/dist/index81.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -21,26 +21,26 @@ declare const _default: <T extends object>(__VLS_props: {
|
|
|
21
21
|
items: T[] | ((prefill: boolean, modelValue?: any[] | undefined) => Promise<T[]>) | ((prefill: boolean, modelValue?: any[] | undefined) => T[]);
|
|
22
22
|
selectable?: boolean | ((item: T) => boolean) | undefined;
|
|
23
23
|
actions?: boolean | undefined;
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
"onClick:row"?: ((event: MouseEvent, item: any, selected: boolean) => any) | undefined;
|
|
25
|
+
"onContextmenu:row"?: ((event: MouseEvent, item: any, selected: boolean) => any) | undefined;
|
|
26
|
+
"onDblclick:row"?: ((event: MouseEvent, item: any, selected: boolean) => any) | undefined;
|
|
27
|
+
"onUpdate:selectAll"?: ((value: Boolean) => any) | undefined;
|
|
26
28
|
accessibleLabel?: ((columns: MappedCell[], item: T) => string) | undefined;
|
|
27
29
|
actionsText?: string | undefined;
|
|
28
30
|
align?: "left" | "center" | "right" | undefined;
|
|
29
31
|
allowSelectAll?: boolean | undefined;
|
|
30
32
|
columns: TableColumn<T>[];
|
|
31
33
|
displayCaption?: boolean | undefined;
|
|
32
|
-
fixedHeader?: boolean | undefined;
|
|
33
34
|
fixedColumns?: (number | {
|
|
34
35
|
index: number;
|
|
35
36
|
position: "left" | "right";
|
|
36
37
|
})[] | undefined;
|
|
38
|
+
fixedHeader?: boolean | undefined;
|
|
37
39
|
selectAll?: boolean | undefined;
|
|
38
40
|
selectAllText?: string | undefined;
|
|
39
41
|
selectText?: string | undefined;
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
"onDblclick:row"?: ((event: MouseEvent, item: any, selected: boolean) => any) | undefined;
|
|
43
|
-
"onUpdate:selectAll"?: ((value: Boolean) => any) | undefined;
|
|
42
|
+
tdClass?: import("./types").ColumnClasses | undefined;
|
|
43
|
+
thClass?: Classes | undefined;
|
|
44
44
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
|
45
45
|
attrs: any;
|
|
46
46
|
slots: Readonly<{
|
|
@@ -103,26 +103,26 @@ declare const _default: <T extends object>(__VLS_props: {
|
|
|
103
103
|
items: T[] | ((prefill: boolean, modelValue?: any[] | undefined) => Promise<T[]>) | ((prefill: boolean, modelValue?: any[] | undefined) => T[]);
|
|
104
104
|
selectable?: boolean | ((item: T) => boolean) | undefined;
|
|
105
105
|
actions?: boolean | undefined;
|
|
106
|
-
|
|
107
|
-
|
|
106
|
+
"onClick:row"?: ((event: MouseEvent, item: any, selected: boolean) => any) | undefined;
|
|
107
|
+
"onContextmenu:row"?: ((event: MouseEvent, item: any, selected: boolean) => any) | undefined;
|
|
108
|
+
"onDblclick:row"?: ((event: MouseEvent, item: any, selected: boolean) => any) | undefined;
|
|
109
|
+
"onUpdate:selectAll"?: ((value: Boolean) => any) | undefined;
|
|
108
110
|
accessibleLabel?: ((columns: MappedCell[], item: T) => string) | undefined;
|
|
109
111
|
actionsText?: string | undefined;
|
|
110
112
|
align?: "left" | "center" | "right" | undefined;
|
|
111
113
|
allowSelectAll?: boolean | undefined;
|
|
112
114
|
columns: TableColumn<T>[];
|
|
113
115
|
displayCaption?: boolean | undefined;
|
|
114
|
-
fixedHeader?: boolean | undefined;
|
|
115
116
|
fixedColumns?: (number | {
|
|
116
117
|
index: number;
|
|
117
118
|
position: "left" | "right";
|
|
118
119
|
})[] | undefined;
|
|
120
|
+
fixedHeader?: boolean | undefined;
|
|
119
121
|
selectAll?: boolean | undefined;
|
|
120
122
|
selectAllText?: string | undefined;
|
|
121
123
|
selectText?: string | undefined;
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
"onDblclick:row"?: ((event: MouseEvent, item: any, selected: boolean) => any) | undefined;
|
|
125
|
-
"onUpdate:selectAll"?: ((value: Boolean) => any) | undefined;
|
|
124
|
+
tdClass?: import("./types").ColumnClasses | undefined;
|
|
125
|
+
thClass?: Classes | undefined;
|
|
126
126
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
127
127
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
128
128
|
attrs: any;
|
|
@@ -189,26 +189,26 @@ declare const _default: <T extends object>(__VLS_props: {
|
|
|
189
189
|
items: T[] | ((prefill: boolean, modelValue?: any[] | undefined) => Promise<T[]>) | ((prefill: boolean, modelValue?: any[] | undefined) => T[]);
|
|
190
190
|
selectable?: boolean | ((item: T) => boolean) | undefined;
|
|
191
191
|
actions?: boolean | undefined;
|
|
192
|
-
|
|
193
|
-
|
|
192
|
+
"onClick:row"?: ((event: MouseEvent, item: any, selected: boolean) => any) | undefined;
|
|
193
|
+
"onContextmenu:row"?: ((event: MouseEvent, item: any, selected: boolean) => any) | undefined;
|
|
194
|
+
"onDblclick:row"?: ((event: MouseEvent, item: any, selected: boolean) => any) | undefined;
|
|
195
|
+
"onUpdate:selectAll"?: ((value: Boolean) => any) | undefined;
|
|
194
196
|
accessibleLabel?: ((columns: MappedCell[], item: T) => string) | undefined;
|
|
195
197
|
actionsText?: string | undefined;
|
|
196
198
|
align?: "left" | "center" | "right" | undefined;
|
|
197
199
|
allowSelectAll?: boolean | undefined;
|
|
198
200
|
columns: TableColumn<T>[];
|
|
199
201
|
displayCaption?: boolean | undefined;
|
|
200
|
-
fixedHeader?: boolean | undefined;
|
|
201
202
|
fixedColumns?: (number | {
|
|
202
203
|
index: number;
|
|
203
204
|
position: "left" | "right";
|
|
204
205
|
})[] | undefined;
|
|
206
|
+
fixedHeader?: boolean | undefined;
|
|
205
207
|
selectAll?: boolean | undefined;
|
|
206
208
|
selectAllText?: string | undefined;
|
|
207
209
|
selectText?: string | undefined;
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
"onDblclick:row"?: ((event: MouseEvent, item: any, selected: boolean) => any) | undefined;
|
|
211
|
-
"onUpdate:selectAll"?: ((value: Boolean) => any) | undefined;
|
|
210
|
+
tdClass?: import("./types").ColumnClasses | undefined;
|
|
211
|
+
thClass?: Classes | undefined;
|
|
212
212
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
213
213
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
214
214
|
attrs: any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Classes } from '../../types/Classes';
|
|
2
|
-
import type {
|
|
2
|
+
import type { InputHTMLAttributes } from "vue";
|
|
3
3
|
type NestedKeyOf<ObjectType extends object> = {
|
|
4
4
|
[Key in keyof ObjectType & (string | number)]: ObjectType[Key] extends object ? `${Key}` | `${Key}.${NestedKeyOf<ObjectType[Key]>}` : `${Key}`;
|
|
5
5
|
}[keyof ObjectType & (string | number)];
|
|
@@ -9,117 +9,178 @@ type Path<T extends object> = NestedKeyOf<T> | (string & Record<never, never>);
|
|
|
9
9
|
*/
|
|
10
10
|
export type TableColumn<U extends object = any> = {
|
|
11
11
|
/**
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
* Text alignment of the column.
|
|
13
|
+
*/
|
|
14
14
|
align?: "left" | "right" | "center";
|
|
15
15
|
/**
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
16
|
+
* When set to false the formatter will not run on nullish values.
|
|
17
|
+
* By default is true so you can create virtual columns with keys that do not
|
|
18
|
+
* reference a prop in the `item` and still extract data from the other
|
|
19
|
+
* arguments in the formatting function.
|
|
20
|
+
*/
|
|
21
21
|
formatOnNull?: boolean;
|
|
22
22
|
/**
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
23
|
+
* Formatting function used to generate enhanced content.
|
|
24
|
+
* @param content The content generated by the extraction of `Item[key]`
|
|
25
|
+
* @param key Key of the column taken from the column definition.
|
|
26
|
+
* @param item Item of the row.
|
|
27
|
+
*/
|
|
28
28
|
formatter?: (content: any, key: string, item: U) => any;
|
|
29
29
|
/**
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
* Key identifying the column.
|
|
31
|
+
*/
|
|
32
32
|
key: Path<U>;
|
|
33
33
|
/**
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
* Text used in the header for this column.
|
|
35
|
+
*/
|
|
36
36
|
label: string;
|
|
37
37
|
/**
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
* Placeholder used when the pipeline returns null content.
|
|
39
|
+
*/
|
|
40
40
|
placeholder?: string;
|
|
41
|
-
} & Pick<BbTableProps<U>, "tdClass" | "thClass">;
|
|
42
|
-
export type BbTableProps<T extends object = any> = Pick<CommonProps, "compact" | "dependencies" | "depsDebounceTime" | "disabled" | "loading" | "loadingText" | "matchStrategy" | "multiple" | "name" | "noDataText" | "readonly"> & {
|
|
43
|
-
itemValue?: NestedKeyOf<T> | ((item: T) => any);
|
|
44
|
-
items: T[] | ((prefill: boolean, modelValue?: any[]) => Promise<T[]>) | ((prefill: boolean, modelValue?: any[]) => T[]);
|
|
45
|
-
} & Partial<Pick<CommonProps, "legend">> & GenericModelValue & {
|
|
46
41
|
/**
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
42
|
+
* Defines the classes to be passed to the `<td>` elements. Can also be a function for dynamic values.
|
|
43
|
+
*/
|
|
44
|
+
tdClass?: ColumnClasses;
|
|
45
|
+
/**
|
|
46
|
+
* Defines the classes to be passed to the `<th>`.
|
|
47
|
+
*/
|
|
48
|
+
thClass?: Classes;
|
|
49
|
+
};
|
|
50
|
+
export type BbTableProps<T extends object = any> = {
|
|
51
|
+
/**
|
|
52
|
+
* Function that accepts the columns and the current item as
|
|
53
|
+
* arguments and returns a label to be used for accessibility purposes.
|
|
54
|
+
*/
|
|
50
55
|
accessibleLabel?: (columns: MappedCell[], item: T) => string;
|
|
51
56
|
/**
|
|
52
|
-
|
|
53
|
-
|
|
57
|
+
* Displays the actions column.
|
|
58
|
+
*/
|
|
54
59
|
actions?: boolean;
|
|
55
60
|
/**
|
|
56
|
-
|
|
57
|
-
|
|
61
|
+
* Label used in the header of the actions column.
|
|
62
|
+
*/
|
|
58
63
|
actionsText?: string;
|
|
59
64
|
/**
|
|
60
|
-
|
|
61
|
-
|
|
65
|
+
* Text alignment of the columns.
|
|
66
|
+
*/
|
|
62
67
|
align?: "left" | "center" | "right";
|
|
63
68
|
/**
|
|
64
|
-
|
|
65
|
-
|
|
69
|
+
* Boolean that defines whether to display a "Select all" checkbox.
|
|
70
|
+
*/
|
|
66
71
|
allowSelectAll?: boolean;
|
|
67
72
|
/**
|
|
68
|
-
|
|
69
|
-
|
|
73
|
+
* Caption that describes the content of the table. Used for accessibility purposes.
|
|
74
|
+
*/
|
|
70
75
|
caption?: string;
|
|
71
76
|
/**
|
|
72
|
-
|
|
73
|
-
|
|
77
|
+
* Array of definitions of how the columns should be rendered.
|
|
78
|
+
*/
|
|
74
79
|
columns: TableColumn<T>[];
|
|
75
80
|
/**
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
81
|
+
* Adds a CSS class that applies a compact style to the component.
|
|
82
|
+
*/
|
|
83
|
+
compact?: boolean;
|
|
84
|
+
/**
|
|
85
|
+
* Defines an array of dependencies that will trigger actions in the component upon change.
|
|
86
|
+
*/
|
|
87
|
+
dependencies?: any[];
|
|
88
|
+
/**
|
|
89
|
+
* Timeout used to debounce response to changes to dependencies.
|
|
90
|
+
*/
|
|
91
|
+
depsDebounceTime?: number;
|
|
92
|
+
/**
|
|
93
|
+
* Disables the component
|
|
94
|
+
*/
|
|
95
|
+
disabled?: boolean;
|
|
96
|
+
/**
|
|
97
|
+
* Boolean that defines whether to display or hide the caption.
|
|
98
|
+
* By default is true and the caption is hidden.
|
|
99
|
+
*/
|
|
79
100
|
displayCaption?: boolean;
|
|
80
101
|
/**
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
102
|
+
* Defines the table layout as fixed
|
|
103
|
+
* making each column take up the same amount of space.
|
|
104
|
+
*/
|
|
84
105
|
fixed?: boolean;
|
|
85
106
|
/**
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
* Definition for which column should be fixed.
|
|
91
|
-
* It can be an array of index of the column to fix on the left side of the table or
|
|
92
|
-
* an array of objects indicating the index and the position `left` or `right` where to affix the columns.
|
|
93
|
-
*/
|
|
107
|
+
* Definition for which column should be fixed.
|
|
108
|
+
* It can be an array of index of the column to fix on the left side of the table or
|
|
109
|
+
* an array of objects indicating the index and the position `left` or `right` where to affix the columns.
|
|
110
|
+
*/
|
|
94
111
|
fixedColumns?: (number | {
|
|
95
112
|
index: number;
|
|
96
113
|
position: "left" | "right";
|
|
97
114
|
})[];
|
|
98
115
|
/**
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
116
|
+
* Boolean that sets the headers as sticky top the top of the table.
|
|
117
|
+
*/
|
|
118
|
+
fixedHeader?: boolean;
|
|
119
|
+
items: T[] | ((prefill: boolean, modelValue?: any[]) => Promise<T[]>) | ((prefill: boolean, modelValue?: any[]) => T[]);
|
|
120
|
+
itemValue?: NestedKeyOf<T> | ((item: T) => any);
|
|
121
|
+
/**
|
|
122
|
+
* Text content of the legend.
|
|
123
|
+
*/
|
|
124
|
+
legend?: string;
|
|
125
|
+
/**
|
|
126
|
+
* Sets the component in a loading state, usually triggering some visual styles.
|
|
127
|
+
*/
|
|
128
|
+
loading?: boolean;
|
|
129
|
+
/**
|
|
130
|
+
* String displayed while items are being loaded.
|
|
131
|
+
*/
|
|
132
|
+
loadingText?: string;
|
|
133
|
+
/**
|
|
134
|
+
* Defines the strategy used to understand whether an option has been selected.
|
|
135
|
+
* `string` is 40% faster but relies on property order.
|
|
136
|
+
* `equality` is more reliable but is slower.
|
|
137
|
+
*/
|
|
138
|
+
matchStrategy?: "string" | "equality";
|
|
139
|
+
/**
|
|
140
|
+
* Used by v-model. Can be any serializable type.
|
|
141
|
+
*/
|
|
142
|
+
modelValue?: any;
|
|
143
|
+
/**
|
|
144
|
+
* Allows the selection of multiple items.
|
|
145
|
+
*/
|
|
146
|
+
multiple?: boolean;
|
|
147
|
+
/**
|
|
148
|
+
* Defines the name of the input.
|
|
149
|
+
*/
|
|
150
|
+
name?: InputHTMLAttributes["name"];
|
|
151
|
+
/**
|
|
152
|
+
* String displayed when there are no items to display.
|
|
153
|
+
*/
|
|
154
|
+
noDataText?: string;
|
|
155
|
+
/**
|
|
156
|
+
* Sets the input in a readonly state.
|
|
157
|
+
*/
|
|
158
|
+
readonly?: InputHTMLAttributes["readonly"];
|
|
159
|
+
/**
|
|
160
|
+
* Defines whether the table is selectable.
|
|
161
|
+
* Can be a global boolean that affects all rows or a function
|
|
162
|
+
* that accepts an otem and returns a boolean that only affects that item.
|
|
163
|
+
*/
|
|
103
164
|
selectable?: boolean | ((item: T) => boolean);
|
|
104
165
|
/**
|
|
105
|
-
|
|
106
|
-
|
|
166
|
+
* Used by v-model:selectAll. Indicates whether the "Select all" checkbox is checked or not.
|
|
167
|
+
*/
|
|
107
168
|
selectAll?: boolean;
|
|
108
169
|
/**
|
|
109
|
-
|
|
110
|
-
|
|
170
|
+
* Text of the label used by the "Select all" boolean.
|
|
171
|
+
*/
|
|
111
172
|
selectAllText?: string;
|
|
112
173
|
/**
|
|
113
|
-
|
|
114
|
-
|
|
174
|
+
* Text of the header used for the radio inputs when the table is not `multiple`.
|
|
175
|
+
*/
|
|
115
176
|
selectText?: string;
|
|
116
177
|
/**
|
|
117
|
-
|
|
118
|
-
|
|
178
|
+
* Defines the classes to be passed to the `<td>` elements. Can also be a function for dynamic values.
|
|
179
|
+
*/
|
|
119
180
|
tdClass?: ColumnClasses;
|
|
120
181
|
/**
|
|
121
|
-
|
|
122
|
-
|
|
182
|
+
* Defines the classes to be passed to the `<th>`.
|
|
183
|
+
*/
|
|
123
184
|
thClass?: Classes;
|
|
124
185
|
};
|
|
125
186
|
/**
|
|
@@ -154,8 +215,8 @@ export type MappedHeader = {
|
|
|
154
215
|
align: string;
|
|
155
216
|
classes?: Classes[];
|
|
156
217
|
key: string;
|
|
157
|
-
slotName: string;
|
|
158
218
|
label: string;
|
|
219
|
+
slotName: string;
|
|
159
220
|
};
|
|
160
221
|
/**
|
|
161
222
|
* Projection that represents a cell of data.
|
package/dist/index101.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as ie, ref as O, computed as p, onMounted as de, watch as q, openBlock as c, createBlock as be, resolveDynamicComponent as re, normalizeClass as f, withCtx as ue, createElementBlock as d, toDisplayString as m, createCommentVNode as v, createElementVNode as o, renderSlot as y, createVNode as J, unref as C, Fragment as N, renderList as T, createTextVNode as pe, mergeProps as fe } from "vue";
|
|
2
|
-
import { add as me } from "./
|
|
3
|
-
import { clamp as ye } from "./
|
|
2
|
+
import { add as me } from "./index241.js";
|
|
3
|
+
import { clamp as ye } from "./index200.js";
|
|
4
4
|
import { deepEqual as he } from "./index123.js";
|
|
5
5
|
import { isNil as j } from "./index120.js";
|
|
6
6
|
import { isNotNil as _e } from "./index124.js";
|
|
7
7
|
import { useId as ke } from "./index7.js";
|
|
8
8
|
import { useItemValue as ge } from "./index126.js";
|
|
9
|
-
import { when as ve } from "./
|
|
9
|
+
import { when as ve } from "./index196.js";
|
|
10
10
|
import G from "./index11.js";
|
|
11
11
|
import "./index12.js";
|
|
12
12
|
import Ce from "./index25.js";
|
|
@@ -28,32 +28,32 @@ const we = { key: 0 }, Ve = { class: "bb-table-header-row" }, Ne = { class: "bb-
|
|
|
28
28
|
], ze = { class: "bb-table-no-data__row" }, Oe = ["colspan"], qe = { class: "bb-table-no-data__text" }, Je = ["onClick", "onContextmenu", "onDblclick"], je = { class: "bb-table-check__label-text" }, Me = { class: "bb-table-radio__label-text" }, al = /* @__PURE__ */ ie({
|
|
29
29
|
__name: "BbTable",
|
|
30
30
|
props: {
|
|
31
|
+
accessibleLabel: { type: Function, default: (S) => ["Seleziona"].concat(S.map(($) => $.content)).join(" ") },
|
|
32
|
+
actions: { type: Boolean },
|
|
33
|
+
actionsText: { default: "Azioni" },
|
|
34
|
+
align: { default: "left" },
|
|
35
|
+
allowSelectAll: { type: Boolean, default: !0 },
|
|
36
|
+
caption: {},
|
|
37
|
+
columns: { default: () => [] },
|
|
31
38
|
compact: { type: Boolean },
|
|
32
39
|
dependencies: { default: () => [] },
|
|
33
40
|
depsDebounceTime: { default: 0 },
|
|
34
41
|
disabled: { type: Boolean },
|
|
42
|
+
displayCaption: { type: Boolean },
|
|
43
|
+
fixed: { type: Boolean },
|
|
44
|
+
fixedColumns: { default: () => [] },
|
|
45
|
+
fixedHeader: { type: Boolean },
|
|
46
|
+
items: { type: [Array, Function], default: () => [] },
|
|
47
|
+
itemValue: {},
|
|
48
|
+
legend: {},
|
|
35
49
|
loading: { type: Boolean },
|
|
36
50
|
loadingText: { default: "Caricamento" },
|
|
37
51
|
matchStrategy: { default: "string" },
|
|
52
|
+
modelValue: {},
|
|
38
53
|
multiple: { type: Boolean, default: !0 },
|
|
39
54
|
name: {},
|
|
40
55
|
noDataText: { default: "Non ci sono elementi da visualizzare" },
|
|
41
56
|
readonly: {},
|
|
42
|
-
itemValue: {},
|
|
43
|
-
items: { type: [Array, Function], default: () => [] },
|
|
44
|
-
legend: {},
|
|
45
|
-
modelValue: {},
|
|
46
|
-
accessibleLabel: { type: Function, default: (S) => ["Seleziona"].concat(S.map(($) => $.content)).join(" ") },
|
|
47
|
-
actions: { type: Boolean },
|
|
48
|
-
actionsText: { default: "Azioni" },
|
|
49
|
-
align: { default: "left" },
|
|
50
|
-
allowSelectAll: { type: Boolean, default: !0 },
|
|
51
|
-
caption: {},
|
|
52
|
-
columns: { default: () => [] },
|
|
53
|
-
displayCaption: { type: Boolean },
|
|
54
|
-
fixed: { type: Boolean },
|
|
55
|
-
fixedHeader: { type: Boolean },
|
|
56
|
-
fixedColumns: { default: () => [] },
|
|
57
57
|
selectable: { type: [Boolean, Function] },
|
|
58
58
|
selectAll: { type: Boolean },
|
|
59
59
|
selectAllText: { default: "Seleziona tutti gli elementi di questa pagina" },
|