updateArgs(args) {
        this.args = args;
        const { value, query } = args;
        if (typeof query === "string" || typeof query === "number") {
            this.state.inputValue = query;
        }
        if (value !== undefined && value !== null) {
            this._updateValue(value);
        }
        if (value === undefined && this.state.value !== undefined) {
            this._updateValue(value);
        }
        this.defaultMarkedOptionIndex = args.requireMatch ? 0 : -1;
        if (this.defaultMarkedOptionIndex === 0 &&
            this.state.markedOptionIndex === -1) {
            this.state.markedOptionIndex = this.getDefaultMarker();
        }
    }
/**
     * digest the args
     *
     * @param {BaseAutocompleteLogicOptions} args
     * @memberof AutocompleteLogic
     */
digest the args
@param {BaseAutocompleteLogicOptions} args
@memberof AutocompleteLogic
digest the args @param { BaseAutocompleteLogicOptions } args @memberof AutocompleteLogic
updateArgs(args) {
        this.args = args;
        const { value, query } = args;
        if (typeof query === "string" || typeof query === "number") {
            this.state.inputValue = query;
        }
        if (value !== undefined && value !== null) {
            this._updateValue(value);
        }
        if (value === undefined && this.state.value !== undefined) {
            this._updateValue(value);
        }
        this.defaultMarkedOptionIndex = args.requireMatch ? 0 : -1;
        if (this.defaultMarkedOptionIndex === 0 &&
            this.state.markedOptionIndex === -1) {
            this.state.markedOptionIndex = this.getDefaultMarker();
        }
    }
updateArgs ( args ) { this . args = args ; const { value , query } = args ; if ( typeof query === "string" || typeof query === "number" ) { this . state . inputValue = query ; } if ( value !== undefined && value !== null ) { this . _updateValue ( value ) ; } if ( value === undefined && this . state . value !== undefined ) { this . _updateValue ( value ) ; } this . defaultMarkedOptionIndex = args . requireMatch ? 0 : - 1 ; if ( this . defaultMarkedOptionIndex === 0 && this . state . markedOptionIndex === - 1 ) { this . state . markedOptionIndex = this . getDefaultMarker ( ) ; } }
digest the args
 @param {BaseAutocompleteLogicOptions} args
 @memberof AutocompleteLogic
digest the args @param { BaseAutocompleteLogicOptions } args @memberof AutocompleteLogic