Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
ui-component-library / dist / typings / src / forms / input / InputChain.d.ts
Size: Mime:
import { InputStateType } from './typings';
import ReactChain from './ReactChain';
/**
 * @todo the input should have the aria-error props and that should be tested in a unit test
 */
declare class InputChain<Props = any, State = any> extends ReactChain<Props, State> {
    parent?: any;
    constructor(parent: any);
    entries(): import("exotic/dist/types/obj/cast/fromCollectionToObj").CollectionAsObj<any>;
    /**
     * @note - had to change to this for testing & react warnings
     * @note - make sure it's always an object
     */
    setPluginState(state: InputStateType): Map<string, any>;
    /**
     * @action
     */
    setPluginProps(props: Props): Map<string, any>;
    /**
     * @action
     */
    /**
    * may also want to do relational
    *
    * @sriaarthi
    * @example
    *  - this can be done the same with `isEnabled`
    *    and would allow only being enabled once
    *    this.parent.get('add-to-account').isSelected
    */
    isValid: boolean;
    /**
     * === added these since they were commmon ===
     */
    /**
     * @computed
     */
    readonly type: string;
    /**
     * @action
     */
    setValue(value: any): void;
    /**
     * @computed
     */
    getValue(): any;
}
export { InputChain };
export default InputChain;