open-index/open-npm huggingface dataset:
npm package: @propmix/app-update-handler
Description: An Angular library that automatically detects and notifies users when a new version of your application is available using Angular Service Worker.
Latest version: 1.0.0

# Propmix Update Handler

An Angular library that automatically detects and notifies users when a new version of your application is available using Angular Service Worker.

## How It Works

1. **Initialization** - Starts periodic update checks via `APP_INITIALIZER`
2. **Detection** - Uses `SwUpdate.checkForUpdate()` at configured intervals (default: 5 minutes)
3. **Notification** - Shows Material overlay dialog when new version is available
4. **Update** - User can choose "Update & Refresh" or "Ignore"
5. **Error Handling** - Detects chunk-load errors and prompts for update

## Installation

```bash
npm install @propmix/app-update-handler
```

**Note:** The following steps must be completed in your **parent application** that uses this library.

## Setup Parent Application

1. **Enable Service Worker:**

   ```bash
   ng add @angular/pwa
   ```

2. **Update `ngsw-config.json`:**
   Add `"navigationRequestStrategy": "freshness"` to enable update detection:

   ```json
   {
     "index": "/index.html",
     "navigationRequestStrategy": "freshness",
     ...
   }
   ```

3. **Clean up unwanted files and configs**

   1. **Remove Unwanted PWA Files:**
      Since we're using Service Worker for app updates only (not PWA functionality), remove these files:

      ```bash
      # Remove PWA-specific files
      src/assets/icons/
      src/manifest.webmanifest
      ```

   2. Also remove references in `angular.json`:

      - Remove the `manifest.webmanifest` entry from `assets` array
      - Remove any PWA-related configuration

   3. And remove from `index.html`:

      - Remove `<link rel="manifest" href="manifest.webmanifest">`
      - Remove `<meta name="theme-color" content="...">`
      - Remove `<link rel="icon" type="image/x-icon" href="...">`

4. **Update App Module**

   Add this to your app's `app.module.ts`

   ```typescript
   import { provideAppUpdateHandler } from '@propmix/app-update-handler';

   @NgModule({
     providers: [
       provideAppUpdateHandler(), // Optionally pass `checkInterval` in minutes
     ],
   })
   export class AppModule {}
   ```

## API Reference

### provideAppUpdateHandler(config?: AppUpdateHandlerProviderConfig)

**Configuration Options:**

| Option        | Type   | Default | Description                   |
| ------------- | ------ | ------- | ----------------------------- |
| checkInterval | number | 5       | Check interval in **minutes** |

## Dependencies

- `@angular/service-worker` (via `ng add @angular/pwa`)
- `@angular/material` - For notification UI
- `@angular/cdk` - For overlay portal
npm package: @propmix/appraisal-assistant-chat-widget
Description: This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 15.2.0.
Latest version: 1.0.2-unstable.4-no-drawer

# AppraisalAssistantChatWidget

This library was generated with [Angular CLI](https://github.com/angular/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](https://angular.io/cli) page.
npm package: @propmix/profet-eula
Description: A library to show EULA dialog box based on the current user in Profet suite of applications.
Latest version: 1.0.0

# Profet EULA

A library to show EULA dialog box based on the current user in Profet suite of applications.

## 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

## Installation

```bash
npm install @propmix/profet-eula
```

## Configuring

The library requires only one configuration, i.e. the Profet Portal backend base URL.\
This configuration can be provided using the `PROFET_EULA_CONFIG` injection token through a module or a standalone component.

```typescript
@NgModule({
  providers: [
    ...
    {
      provide: 'PROFET_EULA_CONFIG',
      useValue: { portalBackendBaseUrl: ENV.portalBackendBaseUrl }
    },
  ]
})
```

## Usage

The library exports only one service function i.e. `ProfetEulaService.verify()` which should be called after user authentication is complete. If the user has not accepted the EULA, the dialog box will be shown to the user.

```typeScript
import { ProfetEulaService } from 'profet-eula';

constructor( private profetEulaService: ProfetEulaService ) {}

this.profetEulaService.verify();
```

## Interfaces

### ProfetEulaConfig

```typescript
{
  portalBackendBaseUrl: string; // Base URL of Profet Portal backend without trailing slash.
}
```
npm package: @propmix/profet-google-analytics
Description: This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 15.2.0.
Latest version: 0.0.2-unstable

# ProfetGoogleAnalytics

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 15.2.0.

## Code scaffolding

Run `ng generate component component-name --project profet-google-analytics` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project profet-google-analytics`.
> Note: Don't forget to add `--project profet-google-analytics` or else it will be added to the default project in your `angular.json` file. 

## Build

Run `ng build profet-google-analytics` to build the project. The build artifacts will be stored in the `dist/` directory.

## Publishing

After building your library with `ng build profet-google-analytics`, go to the dist folder `cd dist/profet-google-analytics` and run `npm publish`.

## Running unit tests

Run `ng test profet-google-analytics` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.