This package has been deprecated

Author message:

Moved to @vendasta/businesses

@vendasta/business-profile
TypeScript icon, indicating that this package has built-in type declarations

5.0.1 • Public • Published

Business Profile Component

This provides a component for managing business profile information.

Requirements

To setup the component, you will need to:

Install the business-profile package to your project

npm install @vendasta/business-profile --save

You must also install the angular google maps library in order to provide the google maps credentials -- see https://angular-maps.com/api-docs/ for the configuration options.

npm install @agm/core--save

Next, you will need to import and setup your navigation module (generally in app.module.ts). Also

import { BusinessProfileModule } from "@vendasta/business-profile";
import { AgmCoreModule } from "@agm/core";

@NgModule({
  
  imports: [
    , BusinessProfileModule, AgmCoreModule.forRoot({clientId: '<YOUR CLIENT ID>'}), 
  ]
})

External Requirements

The business profile requires the following vendasta packages to be implemented by the project:

Please follow their instructions on how to set those packages up.

Usage:

Simply pass through the accountGroupId to the component.

IMPORTANT: The component temporarily also requires whitelabel data be provided to it. This should become inferred in future iterations.

<business-profile [accountGroupId]="accountGroupId" 
    [productNames]="{'RM': 'Rep Man'}" 
    [editDisabled]="true" 
    [maxCompetitors]="4" 
    [maxShareOfVoiceKeywords]="2"
></business-profile>

Readme

Keywords

none

Package Sidebar

Install

npm i @vendasta/business-profile

Weekly Downloads

1

Version

5.0.1

License

ISC

Last publish

Collaborators

  • vendasta