Skip to main content

bp-sdk-google-address-validation

Custom element hooks

NameDescription
bp-sdk-external-google-address-validationdisable html

Classes

NameDescription
bp-sdk-google-address-validation__containerRoot div element
bp-sdk-google-address-validation__confirmContainer for address validation confirm google recommended address flow
bp-sdk-google-address-validation__spelling-suggestionContainer for address validation google suggested spelling flow
bp-sdk-google-address-validation__fixContainer for address validation google fix required and/or missing information flow

Properties

PropertyAttributeDescriptionTypeDefault
address--Google validation address information and componentsIResultAddressundefined
addressValidationIdaddress-validation-idGroup ID from the question set, used for address validation state lookupstringundefined
answerMap--Address group answer set mapped by field type{ [key: string]: IAnswer; }undefined
answersResourceStateanswers-resource-stateAnswer resource states injected from reduxLoadingStates.Error \| LoadingStates.Loaded \| LoadingStates.Loading \| LoadingStates.NotLoadedundefined
config--IPartnerEngineConfig injected from reduxIPartnerEngineConfigundefined
googleApiTokengoogle-api-tokenGoogle api key, if no key library is not loadedstringundefined
hasValidationErrorhas-validation-errorIs true when validation could not be completedbooleanundefined
isValidationTriggerOverriddenis-validation-trigger-overriddenIs true when validation has been triggered by something other than clicking the next button, injected from reduxbooleanundefined
latestAddress--Address to validate with the latest pending answer{ [key: string]: IAnswer; }undefined
originalAddressoriginal-addressThe user entered address formatted, injected from reduxstringundefined
stagedAnswers--Unsaved answers from "fix" template missing field inputIAnswerUpdatedEvent[][]
triggerValidationtrigger-validationIs true when next button has been clickedbooleanundefined
validationAttemptvalidation-attemptThe number of validations performed on an address, injected from reduxnumberundefined
verdictverdictAction to be taken per google address validation responseAddressValidationVerdict.ACCEPT \| AddressValidationVerdict.CONFIRM \| AddressValidationVerdict.FIX \| AddressValidationVerdict.TYPOundefined

Events

EventDescriptionType
bpAnalyticsTrackEmits an analytics tracking event, see AnalyticsTrackingEventName (sdk-types) for event namesCustomEvent<IAnalyticsTrackEventDetail>

Dependencies

Used by

Depends on

Graph

graph TD; bp-sdk-google-address-validation --> bp-sdk-button bp-sdk-google-address-validation --> bp-sdk-address-group bp-sdk-address-group --> bp-sdk-google-address-validation bp-sdk-dynamic-input-redux-container --> bp-sdk-dynamic-input-event-container bp-sdk-dynamic-input-event-container --> bp-sdk-dynamic-input bp-sdk-dynamic-input --> bp-sdk-message-outlet bp-sdk-dynamic-input --> bp-sdk-label bp-sdk-dynamic-input --> bp-sdk-google-places-autocomplete-container bp-sdk-dynamic-input --> bp-sdk-driver-input-container bp-sdk-dynamic-input --> bp-sdk-increment-input bp-sdk-dynamic-input --> bp-sdk-text-input-container bp-sdk-dynamic-input --> bp-sdk-masked-input-container bp-sdk-dynamic-input --> bp-sdk-date-input-container bp-sdk-dynamic-input --> bp-sdk-month-year-input-container bp-sdk-dynamic-input --> bp-sdk-select-input-container bp-sdk-dynamic-input --> bp-sdk-autocomplete-naics-container bp-sdk-dynamic-input --> bp-sdk-business-classification-selector-container bp-sdk-dynamic-input --> bp-sdk-radio-dialog bp-sdk-dynamic-input --> bp-sdk-checkbox-input bp-sdk-dynamic-input --> bp-sdk-radio-input bp-sdk-dynamic-input --> bp-sdk-product-list-container bp-sdk-dynamic-input --> bp-sdk-add-question-pool-item-container bp-sdk-dynamic-input --> bp-sdk-delete-question-pool-item-container bp-sdk-dynamic-input --> bp-sdk-autocomplete-input bp-sdk-google-places-autocomplete-container --> bp-sdk-google-places-autocomplete bp-sdk-google-places-autocomplete --> bp-sdk-errors-container bp-sdk-errors-container --> bp-sdk-errors bp-sdk-driver-input-container --> bp-sdk-text-input-container bp-sdk-text-input-container --> bp-sdk-text-input bp-sdk-text-input --> bp-sdk-errors-container bp-sdk-increment-input --> bp-sdk-text-input-container bp-sdk-masked-input-container --> bp-sdk-masked-input bp-sdk-masked-input --> bp-sdk-errors-container bp-sdk-masked-input --> bp-sdk-masked-input-button bp-sdk-masked-input --> bp-sdk-icon-container bp-sdk-date-input-container --> bp-sdk-date-input bp-sdk-date-input --> bp-sdk-errors-container bp-sdk-month-year-input-container --> bp-sdk-month-year-input bp-sdk-month-year-input --> bp-sdk-errors-container bp-sdk-select-input-container --> bp-sdk-select-input bp-sdk-select-input --> bp-sdk-errors-container bp-sdk-autocomplete-naics-container --> bp-sdk-autocomplete-input bp-sdk-autocomplete-input --> bp-sdk-errors-container bp-sdk-business-classification-selector-container --> bp-sdk-business-classification-selector bp-sdk-business-classification-selector --> bp-sdk-autocomplete-input bp-sdk-business-classification-selector --> bp-sdk-business-classification-selector-list-container bp-sdk-business-classification-selector-list-container --> bp-sdk-business-classification-selector-list bp-sdk-business-classification-selector-list --> bp-sdk-business-classification-selector-naics-group bp-sdk-business-classification-selector-naics-group --> bp-sdk-business-classification-selector-naics-group-header bp-sdk-business-classification-selector-naics-group --> bp-sdk-business-classification-selector-list-item-container bp-sdk-business-classification-selector-list-item-container --> bp-sdk-business-classification-selector-list-item bp-sdk-business-classification-selector-list-item --> bp-sdk-business-classification-selector-card-content bp-sdk-business-classification-selector-card-content --> bp-sdk-business-classification-selector-card-header bp-sdk-business-classification-selector-card-content --> bp-sdk-business-classification-selector-card-body bp-sdk-business-classification-selector-card-content --> bp-sdk-business-classification-selector-relevance-chip bp-sdk-radio-dialog --> bp-sdk-dialog bp-sdk-radio-dialog --> bp-sdk-radio-input bp-sdk-dialog --> bp-sdk-dialog-close-button bp-sdk-dialog-close-button --> bp-sdk-button bp-sdk-dialog-close-button --> bp-sdk-icon-container bp-sdk-radio-input --> bp-sdk-errors-container bp-sdk-checkbox-input --> bp-sdk-errors-container bp-sdk-product-list-container --> bp-sdk-product-list bp-sdk-product-list --> bp-sdk-select-input bp-sdk-add-question-pool-item-container --> bp-sdk-question-pool-container bp-sdk-question-pool-container --> bp-sdk-parent-question-pool-selector bp-sdk-question-pool-container --> bp-sdk-add-item-container bp-sdk-parent-question-pool-selector --> bp-sdk-select-input bp-sdk-parent-question-pool-selector --> bp-sdk-button bp-sdk-add-item-container --> bp-sdk-icon-container bp-sdk-add-item-container --> bp-sdk-button bp-sdk-delete-question-pool-item-container --> bp-sdk-delete-question-pool-item bp-sdk-delete-question-pool-item --> bp-sdk-delete-button bp-sdk-delete-button --> bp-sdk-icon-container style bp-sdk-google-address-validation fill:#f9f,stroke:#333,stroke-width:4px

Built with StencilJS