@glance-networks/agent-plugin
Version:
Glance Networks Agent Plugin
93 lines (92 loc) • 2.85 kB
TypeScript
import { SvelteComponent } from "svelte";
declare const __propDef: {
props: {
/**
* The value of the input
* @type {string}
*/ value?: string | undefined;
/**
* Specifies if the input should be rounded
* @type {string | 'rounded' | 'rounded-full' | 'none'}
*/ shape?: string;
/**
* Specifies if the input should be disabled
* @type {boolean}
*/ disabled?: boolean;
/**
* Specifies the placeholder of the input
* @type {string}
*/ placeholder?: string;
/**
* Specifies if the input severity state is warning
* @type {boolean}
*/ warn?: boolean;
/**
* Specifies if the input severity state is error
* @type {boolean}
*/ error?: boolean;
/**
* Specifies the warning message to display
* @type {string}
*/ warnMessage?: string;
/**
* Specifies the error message to display
* @type {string}
*/ errorMessage?: string;
/**
* Specifies the help message to display
* @type {string}
*/ helpMessage?: string;
/**
* Specifies the id of the input
* @type {string}
*/ id?: string;
/**
* Specifies the size of input to display e.g x-small, small, medium, large
* @type {'x-small' | 'small' | 'medium' | 'large'}
*/ size?: string;
/**
* Specifies the label of the input
* @type {string}
*/ label?: string;
/**
* Specifies if the input should be displayed as a skeleton
* @type {boolean}
*/ skeleton?: boolean;
/**
* Specifies the type of the input
* @type {string}
*/ type?: string;
/**
* Specifies if the input is required
* @type {boolean}
*/ required?: boolean;
};
events: {
input: Event;
focus: FocusEvent;
blur: FocusEvent;
change: Event;
keypress: KeyboardEvent;
keydown: KeyboardEvent;
keyup: KeyboardEvent;
} & {
[evt: string]: CustomEvent<any>;
};
slots: {
action: {
slot: string;
};
iconLeft: {
slot: string;
};
};
exports?: {} | undefined;
bindings?: string | undefined;
};
export type ComboTextFieldProps = typeof __propDef.props;
export type ComboTextFieldEvents = typeof __propDef.events;
export type ComboTextFieldSlots = typeof __propDef.slots;
export default class ComboTextField extends SvelteComponent<ComboTextFieldProps, ComboTextFieldEvents, ComboTextFieldSlots> {
}
export {};