open-index/open-npm huggingface dataset:
npm package: @goocan/goocan-mobile-components
Description: # 开发流程
Latest version: 1.0.43-8

# 移动端组件库

# 开发流程

## 安装依赖

```
yarn
```

## 本地开发

```
yarn dev
```

## 发布

```
yarn release
```

## 组件的新建与删除

```
yarn new gk-my-button 测试按钮
yarn del gk-my-button // 用yarn new 命令新建的组件，请用yarn del进行删除，否则相关的配置无法更新
```

## 组件库的使用

```
import GoocanMobileComponents from 'goocan-mobile-components'
Vue.use(GoocanMobileComponents)
```
npm package: @goocan/lc-formula-exec
Description: 负责 lowcode 里面的表达式实现，内置公式，编辑器等
Author: goocan
Latest version: 0.0.9

<!--
 * @Date: 2023-07-17 11:17:06
 * @LastEditors: bingo 157272494@qq.com
 * @LastEditTime: 2023-07-18 11:12:53
 * @FilePath: /goocan-lowcode/packages/formula-exec/README.md
-->
# amis-formula

负责 amis 里面的表达式、公式及模板的实现

属于 [amis](https://github.com/baidu/amis) 子项目
npm package: @good-drive/svelte-components
Description: To run repo on the host machine, with infrastructure in docker: ``` npm i npm run host:dev ```
Latest version: 0.17.0

To run repo on the host machine, with infrastructure in docker:
```
npm i
npm run host:dev
```

To run repo in docker instead:
```
npm run start
```

To build the svelte components for import in other projects:
```
npm run build-components
```
or
```
npm run watch-components
```

Nb: this happens automatically when publishing to npmjs.com
npm package: @goodbetterbist/input-validators
Description: InputNumberValidator prevents users from entering values based on input field attributes.
Author: Aakash Bist
Latest version: 0.0.7

# @goodbetterbist/input-validators

InputNumberValidator prevents users from entering values based on input field attributes.

## Installation

To install this library, run:

```bash
npm i @goodbetterbist/input-validators
```

## Usage
#### TypeScript
Import the `InputValidatorsModule`:

```ts
import { InputValidatorsModule } from '@goodbetterbist/input-validators';

@NgModule({
  imports: [
     ...,
    InputValidatorsModule
  ],
    ...
})
export class AppModule { }
```
#### HTML
###### Use the `inputNumberValidator` directive in your input fields for numbers only.
```html
<input type="text" inputNumberValidator />
```
###### For `min` & `max` value 
```html
<!-- To input numbers between 1 & 100  -->
<input
type="text"
inputNumberValidator
placeholder="00"
[min]="1"
[max]="100"
/>
```

###### To disable copy and paste

```html
<input
type="text"
inputNumberValidator
[disableCopy] = 'true'
[disablePaste] = 'true'
/>
```
###### To allow decimal numbers

```html
<input
type="text"
inputNumberValidator
[allowDecimal]="true"
/>
<!-- to allow decimal numbers in an input field -->
```
###### To limit decimal places

```html
<input
type="text"
inputNumberValidator
placeholder="00"
[limitDecimalPlaces]="2"
/>
<!-- limits the number of decimal places allowed in an input field -->
```
###### To allow negative numbers

```html
<input
type="text"
inputNumberValidator
placeholder="00"
[allowNegative]="true"
/>
```

## Attributes with usage

| Attribute|Usage| Description|
|--------------------------------|----------------|------------------------------------------------------------- |
| `inputNumberValidator` |  `<input type="text" inputNumberValidator />`  | Allow to use numbers only        |
| `min`                             |  `<input type="text" inputNumberValidator [min]="2" />`  | Prevents from entering less than minimum                                  |
| `max`                            |  `<input type="text" inputNumberValidator [max]="100" />`   |  Prevents from entering more than maximum                            |
| `disableCopy`                            |  `<input type="text" inputNumberValidator [disableCopy]="true" />`   |  Prevents from copying input value                            |
| `disablePaste`                            |  `<input type="text" inputNumberValidator [disablePaste]="true" />`   |  Prevents from pasting value                            |
| `allowDecimal`                            |  `<input type="text" inputNumberValidator [allowDecimal]="true" />`   |  To allow decimal numbers                            |
| `limitDecimalPlaces`                            |  `<input type="text" inputNumberValidator [limitDecimalPlaces]="2" />`   |  To limit decimal places                            |
| `allowNegative`                            |  `<input type="text" inputNumberValidator [allowNegative]="true" />`   |  To allow negative numbers                            |