halo-admin/packages/components
Ryan Wang 8386e14301
feat: add formkit custom input of repeater (#692)
#### What type of PR is this?

/kind feature
/milestone 2.0

#### What this PR does / why we need it:

为 FormKit 添加 Repeater 输入类型,用于让用户动态操作一个对象数组。

使用方式可以查阅:https://github.com/ruibaby/halo-console/tree/feat/formkit-repeater/docs/custom-formkit-input#repeater

#### Which issue(s) this PR fixes:

Fixes https://github.com/halo-dev/halo/issues/2529

#### Screenshots:

<img width="635" alt="image" src="https://user-images.githubusercontent.com/21301288/201640327-5eb0489a-2193-445d-9dfe-7405ae75a297.png">

#### Special notes for your reviewer:

/cc @halo-dev/sig-halo-console 

测试方式:

1. 按照 https://github.com/ruibaby/halo-console/tree/feat/formkit-repeater/docs/custom-formkit-input#repeater 文档,在主题或者插件中使用 FormKit Schema 的形式定义设置表单,然后对表单进行保存等设置,检查是否符合预期。
2. 或者使用 https://github.com/halo-sigs/theme-earth/tree/refactor/setting-spec 主题进行测试,这个分支已经对社交媒体和侧边栏进行了适配。可以在主题设置中测试社交媒体和侧边栏配置,检查在主题端的效果。

#### Does this PR introduce a user-facing change?

```release-note
为 FormKit 添加 Repeater 输入类型。
```
2022-11-15 07:48:17 +00:00
..
src feat: add formkit custom input of repeater (#692) 2022-11-15 07:48:17 +00:00
.eslintrc.cjs chore: use pnpm's workspace feature to manage base components (#579) 2022-06-14 15:56:55 +08:00
env.d.ts chore: use pnpm's workspace feature to manage base components (#579) 2022-06-14 15:56:55 +08:00
histoire.config.ts chore: bump histoire version 2022-08-14 11:59:35 +08:00
package.json chore: release 2.0.0-beta.1 (#691) 2022-11-11 16:14:13 +00:00
postcss.config.js chore: use pnpm's workspace feature to manage base components (#579) 2022-06-14 15:56:55 +08:00
prettier.config.js chore: use pnpm's workspace feature to manage base components (#579) 2022-06-14 15:56:55 +08:00
tailwind.config.js refactor: admin ui theme system 2022-07-14 11:38:13 +08:00
tsconfig.app.json feat: refine the configuration of unplugin-icons 2022-07-03 16:50:25 +08:00
tsconfig.json chore: use pnpm's workspace feature to manage base components (#579) 2022-06-14 15:56:55 +08:00
tsconfig.vite-config.json chore: use pnpm's workspace feature to manage base components (#579) 2022-06-14 15:56:55 +08:00
tsconfig.vitest.json chore: use pnpm's workspace feature to manage base components (#579) 2022-06-14 15:56:55 +08:00
vite.config.ts perf: refine user detail page 2022-09-27 16:47:13 +08:00