open-index/open-npm huggingface dataset:
npm package: @fdnpm/fd-webpack-component
Description:  组件专用webpack4中间件
Author: suweiteng
Latest version: 1.1.1

### 组件专用 webpack 中间件

# 概述

功能：

1.为 dev 模式、build 模式提供 webpack 服务，2 种模式可设置不同入口。

2.build 模式将根据入口文件，打包为单个 js。

3.提供 library 和 libraryTarget 配置

# 使用说明

参数

dev 模式:

```
{
      port: 3333
      env: dev
      entryJs: main.js   开发入口文件，可更改，但必须位于preview文件夹
      publicPath: //localhost:3333
      proxy: {
          context: ["/api", "/auth","/award"],
          options: {
               target: 'http://localhost:8080'
          }
     }
}
```

build 模式:

```
{
      env: prod
      entryJs: index.js   打包入口文件，可更改，但必须位于src文件夹，如更改需同步更改package.json的main值。
      library: 'vueToast'
      libraryTarget: 'umd'
      publicPath: /
}
```

library 和 libraryTarget 配置，请参考：https://webpack.docschina.org/guides/author-libraries

可配合 freedom-cli 组件模板使用。

组件模板：https://gitlab.com/frontendDevelopTpl/fd-template-vue-component

# 上线日志

| 时间      | 版本  | 上线文件 | 上线功能                                                                                                                                                    |
| --------- | ----- | -------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 2019.9.5  | 1.1.1 |          | 修改默认预览文件夹为 example                                                                                                                                |
| 2019.5.21 | 1.0.5 |          | 精简部分依赖                                                                                                                                                |
| 2019.4.18 | 1.0.3 |          | 1.为 dev 模式、build 模式提供 webpack 服务，2 种模式可设置不同入口。<br>2.build 模式将根据入口文件，打包为单个 js。<br>3.提供 library 和 libraryTarget 配置 |
npm package: @fdosruiz/packetjs
Description: Lightweight micro dependency injection container
Author: Francisco Ruiz
Latest version: 1.2.0
Deprecated: This library has been migrated to packetjs-di (https://www.npmjs.com/package/packetjs-di). Please use this new package instead.

# Packet JS (Deprecated)

[![node](https://img.shields.io/node/v/@fdosruiz/packetjs.svg?maxAge=1000)](https://www.npmjs.com/package/@fdosruiz/packetjs)
[![install size](https://packagephobia.com/badge?p=@fdosruiz/packetjs)](https://packagephobia.com/result?p=@fdosruiz/packetjs)
[![npm downloads](https://img.shields.io/npm/dm/@fdosruiz/packetjs.svg?style=flat-square)](https://npm-stat.com/charts.html?package=@fdosruiz/packetjs)
[![Build status](https://github.com/fdosruiz/packetjs/actions/workflows/ci-cd.yml/badge.svg)](https://github.com/fdosruiz/packetjs/actions)
[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat)](https://github.com/fdosruiz/packetjs/blob/main/LICENSE)
[![Gihub package dependents](https://badgen.net/github/dependents-pkg/fdosruiz/packetjs)](https://github.com/fdosruiz/packetjs/network/dependents?dependent_type=PACKAGE)
[![Coverage Status](https://coveralls.io/repos/github/fdosruiz/packetjs/badge.svg?branch=main)](https://coveralls.io/github/fdosruiz/packetjs?branch=main)

## IMPORTANT!

This package was migrated to [https://www.npmjs.com/package/packetjs-di](https://www.npmjs.com/package/packetjs-di)

## License

[MIT](https://github.com/fdosruiz/packetjs/blob/main/LICENSE)
npm package: @fdot/angular-dotcodes
Description: `npm install @fdot/angular-dotcodes --save`
Latest version: 1.0.1

# @fdot/angular-dotcodes

## Installation
`npm install @fdot/angular-dotcodes --save`

### Setup
```javascript
import { NgModule } from '@angular/core';

import { AngularDotcodesModule, Config } from '@fdot/angular-dotcodes';


@NgModule({
  declarations: [
  ],
  imports: [
    // Add the import for the Angular Dotcodes Module
    AngularDotcodesModule.forRoot(new Config('Host Url Goes Here', 'Api Key Goes Here',false,'select')),
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }

```

#### Module Config Options
* host - The url for the dotcodes api the module will use
* apiKey - The api key for the api call.
* useDefaultSelect - Indicates if the select should have a default no value option
* defaultSelectText - The text for the default option 

### Dotcodes Select Component
```html
<fdot-dotcodes-select column="ST_CD" (selectedDotcode)="codeChanged($event)"> </fdot-dotcodes-select>
```
#### Inputs
* column - The column for the dotcodes being looked up.
* value - The code value that should be initial selected.
* disabled - If the select should be disabled.
* useDefaultSelect - Indicates if the select should have a default no value option
* defaultSelectText - The text for the default option

#### Outputs
* selectedDotcode - The dotcode that is selected

### Dotcode Pipe
```html
{{val | dotcode:'ST_CD' | async}}
```

### AngularDotcodesService
A service is also included in the module for making your own calls for custom components or services.
##### Methods
* `GetCode(column: string, codeValue: string): Observable<Dotcode>`
* `GetCodes(column: string): Observable<DotCode[]>`
* `GetRelatedCodes(column: string, codeValue: string, relatedCode: string): Observable<RelatedCode[]>`