@empathyco/x-components
Version:
Empathy X Components
42 lines • 1.71 kB
TypeScript
import type { PropType } from 'vue';
import type Vue from 'vue';
/**
* Column picker dropdown component renders {@link BaseDropdown} component which
* options are the different columns you can set for a grid.
*
* It emits {@link XEventsTypes.UserClickedColumnPicker} on dropdown
* input.
*
* @public
*/
declare const _default: Vue.DefineComponent<Vue.ExtractPropTypes<{
/** An array of numbers that represents the number of columns to render. */
columns: {
type: PropType<number[]>;
required: true;
};
/** The value of the selected columns number. */
modelValue: NumberConstructor;
/** The transition to use for opening and closing the dropdown. */
animation: PropType<string | typeof Vue>;
}>, {
emitEvents: (column: number) => void;
hasToggleSlot: boolean;
selectedColumns: Vue.Ref<number, number>;
}, {}, {}, {}, Vue.ComponentOptionsMixin, Vue.ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", Vue.PublicProps, Readonly<Vue.ExtractPropTypes<{
/** An array of numbers that represents the number of columns to render. */
columns: {
type: PropType<number[]>;
required: true;
};
/** The value of the selected columns number. */
modelValue: NumberConstructor;
/** The transition to use for opening and closing the dropdown. */
animation: PropType<string | typeof Vue>;
}>> & Readonly<{
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
}>, {}, {}, {
BaseDropdown: Vue.DefineComponent<{}, {}, any>;
}, {}, string, Vue.ComponentProvideOptions, true, {}, any>;
export default _default;
//# sourceMappingURL=base-column-picker-dropdown.vue?vue&type=script&lang.d.ts.map