dist directory

This commit is contained in:
2024-03-12 05:28:28 +01:00
parent a385e96520
commit a27c84b7a9
283 changed files with 24264 additions and 1 deletions

View File

@@ -0,0 +1,89 @@
import type { InputSize } from './../FwbInput/types';
import { type OptionsType, type ValidationStatus } from './types';
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
label: {
type: import("vue").PropType<string>;
default: string;
};
placeholder: {
type: import("vue").PropType<string>;
default: string;
};
disabled: {
type: import("vue").PropType<boolean>;
default: boolean;
};
size: {
type: import("vue").PropType<InputSize>;
default: string;
};
modelValue: {
type: import("vue").PropType<string>;
default: string;
};
validationStatus: {
type: import("vue").PropType<ValidationStatus>;
default: undefined;
};
options: {
type: import("vue").PropType<OptionsType[]>;
default: () => never[];
};
underline: {
type: import("vue").PropType<boolean>;
default: boolean;
};
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
label: {
type: import("vue").PropType<string>;
default: string;
};
placeholder: {
type: import("vue").PropType<string>;
default: string;
};
disabled: {
type: import("vue").PropType<boolean>;
default: boolean;
};
size: {
type: import("vue").PropType<InputSize>;
default: string;
};
modelValue: {
type: import("vue").PropType<string>;
default: string;
};
validationStatus: {
type: import("vue").PropType<ValidationStatus>;
default: undefined;
};
options: {
type: import("vue").PropType<OptionsType[]>;
default: () => never[];
};
underline: {
type: import("vue").PropType<boolean>;
default: boolean;
};
}>> & {
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
}, {
label: string;
placeholder: string;
disabled: boolean;
size: InputSize;
modelValue: string;
validationStatus: ValidationStatus;
options: OptionsType[];
underline: boolean;
}, {}>, {
validationMessage?(_: {}): any;
helper?(_: {}): any;
}>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};

View File

@@ -0,0 +1,12 @@
import { type Ref } from 'vue';
import { type InputSize, type ValidationStatus } from '../types';
export type UseSelectClassesProps = {
size: Ref<InputSize>;
disabled: Ref<boolean>;
underline: Ref<boolean>;
validationStatus: Ref<ValidationStatus | undefined>;
};
export declare function useSelectClasses(props: UseSelectClassesProps): {
selectClasses: Ref<string>;
labelClasses: Ref<string>;
};

10
dist/components/FwbSelect/types.d.ts vendored Normal file
View File

@@ -0,0 +1,10 @@
export type InputSize = 'sm' | 'md' | 'lg';
export type OptionsType = {
name: string;
value: string;
};
export declare const validationStatusMap: {
readonly Success: "success";
readonly Error: "error";
};
export type ValidationStatus = typeof validationStatusMap[keyof typeof validationStatusMap];