Skip to content

Commit 13c70fb

Browse files
Adding classes for loading and icon set
1 parent 0a4bd0d commit 13c70fb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/plugin/composables/classes.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,15 @@ import { componentName } from '../utils/globals';
1111

1212
// ------------------------------------------------ Main Container //
1313
export const useInlineFieldsContainerClass: UseInlineFieldsContainerClass = (options) => {
14-
const { field = '', density = '', disabled = false, iconSet = 'mdi', tableField = false } = options;
14+
const { field = '', density = '', disabled = false, iconSet = 'mdi', loading = false, loadingWait, tableField = false } = options;
1515

1616
return {
1717
[`${componentName}`]: true,
1818
[`${componentName}--container`]: true,
1919
[`${componentName}--container-disabled`]: unref(disabled),
2020
[`${componentName}--container-table`]: tableField,
2121
[`${componentName}--container-icon-set-${iconSet}`]: true,
22+
[`${componentName}--container-loading`]: loading && loadingWait,
2223
[`${componentName}--container-${field}`]: true,
2324
[`${componentName}--container-${field}-${density}`]: true,
2425
[`vi-${field}`]: true,

0 commit comments

Comments
 (0)