Package detail

@propmix/appraisal-assistant-chat-widget

sajithmon.s4411.0.2-unstable.4-no-drawer

This library was generated with Angular CLI version 15.2.0.

readme

AppraisalAssistantChatWidget

This library was generated with Angular CLI version 15.2.0.

Peer Dependencies

Make sure you have the following minimum versions of dependencies installed.

  • Angular 15.0.0 or higher
  • Angular Material 15.0.0 or higher
  • RxJS 7.0.0 or higher

Usage

1. Install the package using the command

    npm install @propmix/appraisal-assistant-chat-widget


2. Provide the configuration in your module

    import { AppraisalChatWidgetConfig } from "@propmix/appraisal-assistant-chat-widget";

    providers: [
        {
            provide: 'appraisalAssistConfig',
            useValue: {
                apiUrl: 'chat backend api url',
            } as AppraisalChatWidgetConfig
        }
    ]

3. Import Chat component in your module

    import { AppraisalAssistantChatWidgetComponent } from "@propmix/appraisal-assistant-chat-widget";

    imports: [
        AppraisalAssistantChatWidgetComponent
    ]

4. Use the component in your template

    <appraisal-assistant-agent></appraisal-assistant-agent>

Publishing to npm repository

  1. ng build appraisal-assistant-chat-widget

  2. cd dist/appraisal-assistant-chat-widget

  3. npm publish --access public

Local Development & testing

Do these steps from the library directory

  1. ng build appraisal-assistant-chat-widget --watch

  2. cd dist/appraisal-assistant-chat-widget/

  3. npm link

Do these steps from the consumer application

  1. npm ci

  2. npm link @propmix/appraisal-assistant-chat-widget

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.