@synergy-design-system/vue
Version:
Vue3 wrappers for the Synergy Design System
51 lines (49 loc) • 2.01 kB
TypeScript
import { default as SynFieldset } from '@synergy-design-system/components/components/fieldset/fieldset.component.js';
type __VLS_Props = {
/**
* The description for the fieldset.
* This is displayed below the legend.
If not provided, the fieldset will not have a description.
*/
description?: SynFieldset['description'];
/**
* The legend for the fieldset.
* This is displayed as the title of the fieldset.
If not provided, the fieldset will not have a legend.
*/
legend?: SynFieldset['legend'];
/**
* Whether the fieldset is disabled.
When true, all form controls inside the fieldset are disabled
*/
disabled?: SynFieldset['disabled'];
/**
* Disables automatic grouped control layout syncing.
When true, nested grouped controls keep their own layout configuration.
*/
disableAutoGroupLayout?: SynFieldset['disableAutoGroupLayout'];
/**
* The layout of the fieldset.
* This determines how the fields are displayed.
Defaults to `one-column`.
- `one-column`: All fields are displayed in a single column.
- `two-columns`: Fields are displayed in two columns.
* Will automatically fall back to one-column if the fieldset is too narrow to display two columns.
*/
layout?: SynFieldset['layout'];
};
declare var __VLS_9: {};
type __VLS_Slots = {} & {
default?: (props: typeof __VLS_9) => any;
};
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
nativeElement: import('vue').Ref<SynFieldset | undefined, SynFieldset | undefined>;
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
declare const _default: typeof __VLS_export;
export default _default;
type __VLS_WithSlots<T, S> = T & {
new (): {
$slots: S;
};
};