@antdv-next/nuxt 1.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +119 -0
- package/README.zh-CN.md +119 -0
- package/dist/module.d.mts +41 -0
- package/dist/module.json +9 -0
- package/dist/module.mjs +89 -0
- package/dist/runtime/components.d.ts +3 -0
- package/dist/runtime/components.js +117 -0
- package/dist/runtime/icons.d.ts +3 -0
- package/dist/runtime/icons.js +834 -0
- package/dist/runtime/plugin.d.ts +2 -0
- package/dist/runtime/plugin.js +22 -0
- package/dist/runtime/server.d.ts +2 -0
- package/dist/runtime/server.js +17 -0
- package/dist/types.d.mts +3 -0
- package/package.json +68 -0
package/README.md
ADDED
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img width="300px" src="https://www.antdv-next.com/antdv-next.svg">
|
|
3
|
+
</p>
|
|
4
|
+
<p align="center">
|
|
5
|
+
<a href="https://www.npmjs.com/package/@antdv-next/nuxt">
|
|
6
|
+
<img src="https://img.shields.io/npm/v/%40antdv-next%2Fnuxt.svg">
|
|
7
|
+
</a>
|
|
8
|
+
<a href="https://npmcharts.com/compare/@antdv-next/nuxt?minimal=true">
|
|
9
|
+
<img src="https://img.shields.io/npm/dm/%40antdv-next%2Fnuxt.svg">
|
|
10
|
+
</a>
|
|
11
|
+
</p>
|
|
12
|
+
|
|
13
|
+
# Antdv Next Nuxt
|
|
14
|
+
|
|
15
|
+
> [Antdv Next](https://www.antdv-next.com) module for [Nuxt](https://nuxt.com)
|
|
16
|
+
|
|
17
|
+
[中文文档](./README.zh-CN.md)
|
|
18
|
+
|
|
19
|
+
## Features
|
|
20
|
+
|
|
21
|
+
- Auto register `antdv-next` components as global Nuxt components.
|
|
22
|
+
- Optional auto register icons from `@antdv-next/icons`.
|
|
23
|
+
- Component prefix support (default: `A`), e.g. `AButton`.
|
|
24
|
+
- SSR-safe CSS-in-JS setup and style extraction on server render.
|
|
25
|
+
- Adds `vite-plugin-dayjs` automatically when using Vite builder.
|
|
26
|
+
|
|
27
|
+
## Version Requirements
|
|
28
|
+
|
|
29
|
+
- Nuxt >= 4.0.0
|
|
30
|
+
- Vue >= 3.5.0
|
|
31
|
+
- antdv-next >= 1.0.4
|
|
32
|
+
- @antdv-next/icons >= 1.0.1
|
|
33
|
+
|
|
34
|
+
## Installation
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
npx nuxi@latest module add @antdv-next/nuxt
|
|
38
|
+
# or
|
|
39
|
+
pnpm add -D @antdv-next/nuxt antdv-next @antdv-next/icons
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## Configuration
|
|
43
|
+
|
|
44
|
+
```ts
|
|
45
|
+
export default defineNuxtConfig({
|
|
46
|
+
modules: ['@antdv-next/nuxt'],
|
|
47
|
+
antd: {
|
|
48
|
+
icon: true,
|
|
49
|
+
},
|
|
50
|
+
})
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
`@antdv-next/nuxt` uses `antd` as the config key.
|
|
54
|
+
|
|
55
|
+
## Usage
|
|
56
|
+
|
|
57
|
+
```vue
|
|
58
|
+
<template>
|
|
59
|
+
<a-button type="primary">Primary</a-button>
|
|
60
|
+
<HomeOutlined />
|
|
61
|
+
</template>
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
If you keep the default prefix, component names are registered as `A*` (for example `AButton`, `ATable`, `AQrcode`).
|
|
65
|
+
|
|
66
|
+
## Styles
|
|
67
|
+
|
|
68
|
+
For reset styles:
|
|
69
|
+
|
|
70
|
+
```ts
|
|
71
|
+
export default defineNuxtConfig({
|
|
72
|
+
css: ['antdv-next/dist/reset.css'],
|
|
73
|
+
})
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
For zero-runtime theme mode (recommended), also include:
|
|
77
|
+
|
|
78
|
+
```ts
|
|
79
|
+
export default defineNuxtConfig({
|
|
80
|
+
css: [
|
|
81
|
+
'antdv-next/dist/reset.css',
|
|
82
|
+
'antdv-next/dist/antd.css',
|
|
83
|
+
],
|
|
84
|
+
})
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
> [!WARNING]
|
|
88
|
+
> If `nuxt devtools` is enabled, style loading in development may become slower.
|
|
89
|
+
> If you see slow style hydration or temporarily unclickable UI, try disabling `nuxt devtools`, or wait until related loading in the console is finished.
|
|
90
|
+
>
|
|
91
|
+
> This does not affect normal precompiled development flow or production builds.
|
|
92
|
+
|
|
93
|
+
## Options
|
|
94
|
+
|
|
95
|
+
| Option | Type | Default | Description |
|
|
96
|
+
| --- | --- | --- | --- |
|
|
97
|
+
| `icon` | `boolean` | `false` | Enable auto registration of icons from `@antdv-next/icons`. |
|
|
98
|
+
| `prefix` | `string` | `'A'` | Prefix for auto-registered components. |
|
|
99
|
+
| `include` | `ComponentName[]` | `undefined` | Only register listed components. Takes precedence over `exclude`. |
|
|
100
|
+
| `exclude` | `ComponentName[]` | `undefined` | Exclude listed components when `include` is not set. |
|
|
101
|
+
| `includeIcons` | `IconName[]` | `undefined` | Only register listed icons. Takes precedence over `excludeIcons`. |
|
|
102
|
+
| `excludeIcons` | `IconName[]` | `undefined` | Exclude listed icons when `includeIcons` is not set. |
|
|
103
|
+
|
|
104
|
+
Notes:
|
|
105
|
+
|
|
106
|
+
- `ComponentName` values come from [src/runtime/components.ts](./src/runtime/components.ts).
|
|
107
|
+
- `IconName` values come from [src/runtime/icons.ts](./src/runtime/icons.ts).
|
|
108
|
+
- `includeIcons` and `excludeIcons` are effective only when `icon` is enabled.
|
|
109
|
+
|
|
110
|
+
## Development
|
|
111
|
+
|
|
112
|
+
```bash
|
|
113
|
+
pnpm install
|
|
114
|
+
pnpm dev:prepare
|
|
115
|
+
pnpm dev
|
|
116
|
+
pnpm dev:build
|
|
117
|
+
pnpm lint
|
|
118
|
+
pnpm test
|
|
119
|
+
```
|
package/README.zh-CN.md
ADDED
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img width="300px" src="https://www.antdv-next.com/antdv-next.svg">
|
|
3
|
+
</p>
|
|
4
|
+
<p align="center">
|
|
5
|
+
<a href="https://www.npmjs.com/package/@antdv-next/nuxt">
|
|
6
|
+
<img src="https://img.shields.io/npm/v/%40antdv-next%2Fnuxt.svg">
|
|
7
|
+
</a>
|
|
8
|
+
<a href="https://npmcharts.com/compare/@antdv-next/nuxt?minimal=true">
|
|
9
|
+
<img src="https://img.shields.io/npm/dm/%40antdv-next%2Fnuxt.svg">
|
|
10
|
+
</a>
|
|
11
|
+
</p>
|
|
12
|
+
|
|
13
|
+
# Antdv Next Nuxt
|
|
14
|
+
|
|
15
|
+
> [Antdv Next](https://www.antdv-next.com) 的 [Nuxt](https://nuxt.com) 模块
|
|
16
|
+
|
|
17
|
+
[English](./README.md)
|
|
18
|
+
|
|
19
|
+
## 特性
|
|
20
|
+
|
|
21
|
+
- 自动将 `antdv-next` 组件注册为全局 Nuxt 组件。
|
|
22
|
+
- 可选自动注册 `@antdv-next/icons` 图标组件。
|
|
23
|
+
- 支持组件前缀(默认 `A`),例如 `AButton`。
|
|
24
|
+
- 内置 SSR 场景下的 CSS-in-JS 上下文与服务端样式提取。
|
|
25
|
+
- 使用 Vite Builder 时自动注入 `vite-plugin-dayjs`。
|
|
26
|
+
|
|
27
|
+
## 版本要求
|
|
28
|
+
|
|
29
|
+
- Nuxt >= 4.0.0
|
|
30
|
+
- Vue >= 3.5.0
|
|
31
|
+
- antdv-next >= 1.0.4
|
|
32
|
+
- @antdv-next/icons >= 1.0.1
|
|
33
|
+
|
|
34
|
+
## 安装
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
npx nuxi@latest module add @antdv-next/nuxt
|
|
38
|
+
# 或
|
|
39
|
+
pnpm add -D @antdv-next/nuxt antdv-next @antdv-next/icons
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## 配置
|
|
43
|
+
|
|
44
|
+
```ts
|
|
45
|
+
export default defineNuxtConfig({
|
|
46
|
+
modules: ['@antdv-next/nuxt'],
|
|
47
|
+
antd: {
|
|
48
|
+
icon: true,
|
|
49
|
+
},
|
|
50
|
+
})
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
`@antdv-next/nuxt` 在 `nuxt.config` 中的配置键是 `antd`。
|
|
54
|
+
|
|
55
|
+
## 使用
|
|
56
|
+
|
|
57
|
+
```vue
|
|
58
|
+
<template>
|
|
59
|
+
<a-button type="primary">Primary</a-button>
|
|
60
|
+
<HomeOutlined />
|
|
61
|
+
</template>
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
如果保持默认前缀,组件会注册成 `A*`,例如 `AButton`、`ATable`、`AQrcode`。
|
|
65
|
+
|
|
66
|
+
## 样式
|
|
67
|
+
|
|
68
|
+
基础重置样式:
|
|
69
|
+
|
|
70
|
+
```ts
|
|
71
|
+
export default defineNuxtConfig({
|
|
72
|
+
css: ['antdv-next/dist/reset.css'],
|
|
73
|
+
})
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
如果使用 zero-runtime 主题模式(推荐模式),还需要引入:
|
|
77
|
+
|
|
78
|
+
```ts
|
|
79
|
+
export default defineNuxtConfig({
|
|
80
|
+
css: [
|
|
81
|
+
'antdv-next/dist/reset.css',
|
|
82
|
+
'antdv-next/dist/antd.css',
|
|
83
|
+
],
|
|
84
|
+
})
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
> [!WARNING]
|
|
88
|
+
> 如果开启了 `nuxt devtools`,开发模式下的样式加载可能会变慢。
|
|
89
|
+
> 如果你遇到样式加载过慢或页面暂时无法正常点击的情况,请先尝试关闭 `nuxt devtools`,或等待 `console` 中相关加载完成后再操作。
|
|
90
|
+
>
|
|
91
|
+
> 该问题不会影响正常预编译开发流程,也不会影响生产环境。
|
|
92
|
+
|
|
93
|
+
## 选项
|
|
94
|
+
|
|
95
|
+
| 选项 | 类型 | 默认值 | 说明 |
|
|
96
|
+
| --- | --- | --- | --- |
|
|
97
|
+
| `icon` | `boolean` | `false` | 是否自动注册 `@antdv-next/icons` 图标组件。 |
|
|
98
|
+
| `prefix` | `string` | `'A'` | 自动注册组件的前缀。 |
|
|
99
|
+
| `include` | `ComponentName[]` | `undefined` | 仅注册列表中的组件。优先级高于 `exclude`。 |
|
|
100
|
+
| `exclude` | `ComponentName[]` | `undefined` | 在未设置 `include` 时,排除列表中的组件。 |
|
|
101
|
+
| `includeIcons` | `IconName[]` | `undefined` | 仅注册列表中的图标。优先级高于 `excludeIcons`。 |
|
|
102
|
+
| `excludeIcons` | `IconName[]` | `undefined` | 在未设置 `includeIcons` 时,排除列表中的图标。 |
|
|
103
|
+
|
|
104
|
+
说明:
|
|
105
|
+
|
|
106
|
+
- `ComponentName` 可选值见 [src/runtime/components.ts](./src/runtime/components.ts)。
|
|
107
|
+
- `IconName` 可选值见 [src/runtime/icons.ts](./src/runtime/icons.ts)。
|
|
108
|
+
- `includeIcons` 和 `excludeIcons` 仅在 `icon` 开启时生效。
|
|
109
|
+
|
|
110
|
+
## 本地开发
|
|
111
|
+
|
|
112
|
+
```bash
|
|
113
|
+
pnpm install
|
|
114
|
+
pnpm dev:prepare
|
|
115
|
+
pnpm dev
|
|
116
|
+
pnpm dev:build
|
|
117
|
+
pnpm lint
|
|
118
|
+
pnpm test
|
|
119
|
+
```
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import * as _nuxt_schema from '@nuxt/schema';
|
|
2
|
+
import { ComponentName } from '../dist/runtime/components.js';
|
|
3
|
+
import { IconName } from '../dist/runtime/icons.js';
|
|
4
|
+
|
|
5
|
+
interface ModuleOptions {
|
|
6
|
+
/**
|
|
7
|
+
* Enable components
|
|
8
|
+
* @default true
|
|
9
|
+
*/
|
|
10
|
+
component?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Enable icons
|
|
13
|
+
* @default false
|
|
14
|
+
*/
|
|
15
|
+
icon?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Components to be included or excluded
|
|
18
|
+
*/
|
|
19
|
+
exclude?: ComponentName[];
|
|
20
|
+
/**
|
|
21
|
+
* Components to be included only
|
|
22
|
+
*/
|
|
23
|
+
include?: ComponentName[];
|
|
24
|
+
/**
|
|
25
|
+
* Icons to be excluded or included
|
|
26
|
+
*/
|
|
27
|
+
excludeIcons?: IconName[];
|
|
28
|
+
/**
|
|
29
|
+
* Icons to be included only
|
|
30
|
+
*/
|
|
31
|
+
includeIcons?: IconName[];
|
|
32
|
+
/**
|
|
33
|
+
* Component prefix
|
|
34
|
+
* @default 'A'
|
|
35
|
+
*/
|
|
36
|
+
prefix?: string;
|
|
37
|
+
}
|
|
38
|
+
declare const _default: _nuxt_schema.NuxtModule<ModuleOptions, ModuleOptions, false>;
|
|
39
|
+
|
|
40
|
+
export { _default as default };
|
|
41
|
+
export type { ModuleOptions };
|
package/dist/module.json
ADDED
package/dist/module.mjs
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { defineNuxtModule, addComponent, createResolver, addPlugin, addServerPlugin, addVitePlugin } from '@nuxt/kit';
|
|
2
|
+
import dayjs from 'vite-plugin-dayjs';
|
|
3
|
+
import components from '../dist/runtime/components.js';
|
|
4
|
+
import icons from '../dist/runtime/icons.js';
|
|
5
|
+
|
|
6
|
+
const libName = "antdv-next";
|
|
7
|
+
const iconLibName = `@antdv-next/icons`;
|
|
8
|
+
const iconsSvgLibName = "@ant-design/icons-svg";
|
|
9
|
+
const module$1 = defineNuxtModule({
|
|
10
|
+
meta: {
|
|
11
|
+
name: "@antdv-next/nuxt",
|
|
12
|
+
configKey: "antd"
|
|
13
|
+
},
|
|
14
|
+
// Default configuration options of the Nuxt module
|
|
15
|
+
defaults: {
|
|
16
|
+
icon: false,
|
|
17
|
+
component: true,
|
|
18
|
+
prefix: "A"
|
|
19
|
+
},
|
|
20
|
+
setup(_options, _nuxt) {
|
|
21
|
+
if (_options.component === false && _options.icon !== true) {
|
|
22
|
+
return;
|
|
23
|
+
}
|
|
24
|
+
const transpileList = _nuxt.options.build.transpile;
|
|
25
|
+
const appendTranspile = (dep) => {
|
|
26
|
+
if (!transpileList.includes(dep)) {
|
|
27
|
+
transpileList.push(dep);
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
if (_options.component !== false) {
|
|
31
|
+
appendTranspile(libName);
|
|
32
|
+
}
|
|
33
|
+
appendTranspile(iconLibName);
|
|
34
|
+
appendTranspile(iconsSvgLibName);
|
|
35
|
+
if (_options.component !== false) {
|
|
36
|
+
const componentMap = {
|
|
37
|
+
QRCode: "Qrcode"
|
|
38
|
+
};
|
|
39
|
+
const filteredComponents = components.filter((comp) => {
|
|
40
|
+
if (_options.include?.length) {
|
|
41
|
+
return _options.include.includes(comp);
|
|
42
|
+
}
|
|
43
|
+
if (_options.exclude?.length) {
|
|
44
|
+
return !_options.exclude.includes(comp);
|
|
45
|
+
}
|
|
46
|
+
return true;
|
|
47
|
+
});
|
|
48
|
+
filteredComponents.forEach((comp) => {
|
|
49
|
+
let _comp = comp;
|
|
50
|
+
if (comp in componentMap) {
|
|
51
|
+
_comp = componentMap[comp];
|
|
52
|
+
}
|
|
53
|
+
addComponent({
|
|
54
|
+
filePath: "antdv-next",
|
|
55
|
+
export: comp,
|
|
56
|
+
name: _options.prefix + _comp
|
|
57
|
+
});
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
if (_options.icon === true) {
|
|
61
|
+
const filteredIcons = icons.filter((icon) => {
|
|
62
|
+
if (_options.includeIcons?.length) {
|
|
63
|
+
return _options.includeIcons.includes(icon);
|
|
64
|
+
}
|
|
65
|
+
if (_options.excludeIcons?.length) {
|
|
66
|
+
return !_options.excludeIcons.includes(icon);
|
|
67
|
+
}
|
|
68
|
+
return true;
|
|
69
|
+
});
|
|
70
|
+
filteredIcons.forEach((icon) => {
|
|
71
|
+
addComponent({
|
|
72
|
+
filePath: iconLibName,
|
|
73
|
+
export: icon,
|
|
74
|
+
name: icon
|
|
75
|
+
});
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
if (_options.component !== false) {
|
|
79
|
+
const resolver = createResolver(import.meta.url);
|
|
80
|
+
addPlugin(resolver.resolve("./runtime/plugin"));
|
|
81
|
+
addServerPlugin(resolver.resolve("./runtime/server"));
|
|
82
|
+
if (_nuxt.options.builder === "@nuxt/vite-builder") {
|
|
83
|
+
addVitePlugin(dayjs());
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
});
|
|
88
|
+
|
|
89
|
+
export { module$1 as default };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const values: readonly ["Affix", "Button", "Alert", "Anchor", "Space", "Divider", "SpaceCompact", "SpaceAddon", "StyleProvider", "Flex", "ConfigProvider", "Col", "Row", "Badge", "BadgeRibbon", "Tag", "CheckableTag", "Layout", "LayoutHeader", "LayoutFooter", "LayoutContent", "LayoutSider", "Empty", "Result", "Spin", "Skeleton", "SkeletonButton", "SkeletonAvatar", "SkeletonInput", "SkeletonImage", "SkeletonNode", "Statistic", "StatisticTimer", "Descriptions", "Timeline", "Watermark", "QRCode", "Collapse", "Tooltip", "Segmented", "Popover", "Popconfirm", "FloatButton", "BackTop", "FloatButtonGroup", "Menu", "Dropdown", "Tour", "Breadcrumb", "Avatar", "AvatarGroup", "Form", "FormItem", "Checkbox", "CheckboxGroup", "Radio", "RadioGroup", "RadioButton", "Switch", "ColorPicker", "Slider", "Input", "InputSearch", "InputPassword", "InputOTP", "InputGroup", "InputNumber", "TextArea", "Typography", "TypographyText", "TypographyTitle", "TypographyParagraph", "TypographyLink", "Tabs", "TabPane", "Select", "SelectOption", "SelectOptGroup", "Splitter", "SplitterPanel", "Card", "CardGrid", "CardMeta", "Masonry", "Rate", "Progress", "Drawer", "Modal", "Steps", "Image", "ImagePreviewGroup", "App", "Tree", "DirectoryTree", "TreeSelect", "Upload", "UploadDragger", "Pagination", "Transfer", "Mentions", "Carousel", "Cascader", "Table", "TableColumn", "TableSummary", "TableSummaryRow", "TableSummaryCell", "Calendar", "DatePicker", "DateRangePicker", "TimePicker", "TimeRangePicker", "AutoComplete", "AutoCompleteOption"];
|
|
2
|
+
export type ComponentName = (typeof values)[number];
|
|
3
|
+
export default values;
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
const values = [
|
|
2
|
+
"Affix",
|
|
3
|
+
"Button",
|
|
4
|
+
"Alert",
|
|
5
|
+
"Anchor",
|
|
6
|
+
"Space",
|
|
7
|
+
"Divider",
|
|
8
|
+
"SpaceCompact",
|
|
9
|
+
"SpaceAddon",
|
|
10
|
+
"StyleProvider",
|
|
11
|
+
"Flex",
|
|
12
|
+
"ConfigProvider",
|
|
13
|
+
"Col",
|
|
14
|
+
"Row",
|
|
15
|
+
"Badge",
|
|
16
|
+
"BadgeRibbon",
|
|
17
|
+
"Tag",
|
|
18
|
+
"CheckableTag",
|
|
19
|
+
"Layout",
|
|
20
|
+
"LayoutHeader",
|
|
21
|
+
"LayoutFooter",
|
|
22
|
+
"LayoutContent",
|
|
23
|
+
"LayoutSider",
|
|
24
|
+
"Empty",
|
|
25
|
+
"Result",
|
|
26
|
+
"Spin",
|
|
27
|
+
"Skeleton",
|
|
28
|
+
"SkeletonButton",
|
|
29
|
+
"SkeletonAvatar",
|
|
30
|
+
"SkeletonInput",
|
|
31
|
+
"SkeletonImage",
|
|
32
|
+
"SkeletonNode",
|
|
33
|
+
"Statistic",
|
|
34
|
+
"StatisticTimer",
|
|
35
|
+
"Descriptions",
|
|
36
|
+
"Timeline",
|
|
37
|
+
"Watermark",
|
|
38
|
+
"QRCode",
|
|
39
|
+
"Collapse",
|
|
40
|
+
"Tooltip",
|
|
41
|
+
"Segmented",
|
|
42
|
+
"Popover",
|
|
43
|
+
"Popconfirm",
|
|
44
|
+
"FloatButton",
|
|
45
|
+
"BackTop",
|
|
46
|
+
"FloatButtonGroup",
|
|
47
|
+
"Menu",
|
|
48
|
+
"Dropdown",
|
|
49
|
+
"Tour",
|
|
50
|
+
"Breadcrumb",
|
|
51
|
+
"Avatar",
|
|
52
|
+
"AvatarGroup",
|
|
53
|
+
"Form",
|
|
54
|
+
"FormItem",
|
|
55
|
+
"Checkbox",
|
|
56
|
+
"CheckboxGroup",
|
|
57
|
+
"Radio",
|
|
58
|
+
"RadioGroup",
|
|
59
|
+
"RadioButton",
|
|
60
|
+
"Switch",
|
|
61
|
+
"ColorPicker",
|
|
62
|
+
"Slider",
|
|
63
|
+
"Input",
|
|
64
|
+
"InputSearch",
|
|
65
|
+
"InputPassword",
|
|
66
|
+
"InputOTP",
|
|
67
|
+
"InputGroup",
|
|
68
|
+
"InputNumber",
|
|
69
|
+
"TextArea",
|
|
70
|
+
"Typography",
|
|
71
|
+
"TypographyText",
|
|
72
|
+
"TypographyTitle",
|
|
73
|
+
"TypographyParagraph",
|
|
74
|
+
"TypographyLink",
|
|
75
|
+
"Tabs",
|
|
76
|
+
"TabPane",
|
|
77
|
+
"Select",
|
|
78
|
+
"SelectOption",
|
|
79
|
+
"SelectOptGroup",
|
|
80
|
+
"Splitter",
|
|
81
|
+
"SplitterPanel",
|
|
82
|
+
"Card",
|
|
83
|
+
"CardGrid",
|
|
84
|
+
"CardMeta",
|
|
85
|
+
"Masonry",
|
|
86
|
+
"Rate",
|
|
87
|
+
"Progress",
|
|
88
|
+
"Drawer",
|
|
89
|
+
"Modal",
|
|
90
|
+
"Steps",
|
|
91
|
+
"Image",
|
|
92
|
+
"ImagePreviewGroup",
|
|
93
|
+
"App",
|
|
94
|
+
"Tree",
|
|
95
|
+
"DirectoryTree",
|
|
96
|
+
"TreeSelect",
|
|
97
|
+
"Upload",
|
|
98
|
+
"UploadDragger",
|
|
99
|
+
"Pagination",
|
|
100
|
+
"Transfer",
|
|
101
|
+
"Mentions",
|
|
102
|
+
"Carousel",
|
|
103
|
+
"Cascader",
|
|
104
|
+
"Table",
|
|
105
|
+
"TableColumn",
|
|
106
|
+
"TableSummary",
|
|
107
|
+
"TableSummaryRow",
|
|
108
|
+
"TableSummaryCell",
|
|
109
|
+
"Calendar",
|
|
110
|
+
"DatePicker",
|
|
111
|
+
"DateRangePicker",
|
|
112
|
+
"TimePicker",
|
|
113
|
+
"TimeRangePicker",
|
|
114
|
+
"AutoComplete",
|
|
115
|
+
"AutoCompleteOption"
|
|
116
|
+
];
|
|
117
|
+
export default values;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const icons: readonly ["AccountBookFilled", "AccountBookOutlined", "AccountBookTwoTone", "AimOutlined", "AlertFilled", "AlertOutlined", "AlertTwoTone", "AlibabaOutlined", "AlignCenterOutlined", "AlignLeftOutlined", "AlignRightOutlined", "AlipayCircleFilled", "AlipayCircleOutlined", "AlipayOutlined", "AlipaySquareFilled", "AliwangwangFilled", "AliwangwangOutlined", "AliyunOutlined", "AmazonCircleFilled", "AmazonOutlined", "AmazonSquareFilled", "AndroidFilled", "AndroidOutlined", "AntCloudOutlined", "AntDesignOutlined", "ApartmentOutlined", "ApiFilled", "ApiOutlined", "ApiTwoTone", "AppleFilled", "AppleOutlined", "AppstoreAddOutlined", "AppstoreFilled", "AppstoreOutlined", "AppstoreTwoTone", "AreaChartOutlined", "ArrowDownOutlined", "ArrowLeftOutlined", "ArrowRightOutlined", "ArrowUpOutlined", "ArrowsAltOutlined", "AudioFilled", "AudioMutedOutlined", "AudioOutlined", "AudioTwoTone", "AuditOutlined", "BackwardFilled", "BackwardOutlined", "BaiduOutlined", "BankFilled", "BankOutlined", "BankTwoTone", "BarChartOutlined", "BarcodeOutlined", "BarsOutlined", "BehanceCircleFilled", "BehanceOutlined", "BehanceSquareFilled", "BehanceSquareOutlined", "BellFilled", "BellOutlined", "BellTwoTone", "BgColorsOutlined", "BilibiliFilled", "BilibiliOutlined", "BlockOutlined", "BoldOutlined", "BookFilled", "BookOutlined", "BookTwoTone", "BorderBottomOutlined", "BorderHorizontalOutlined", "BorderInnerOutlined", "BorderLeftOutlined", "BorderOuterOutlined", "BorderOutlined", "BorderRightOutlined", "BorderTopOutlined", "BorderVerticleOutlined", "BorderlessTableOutlined", "BoxPlotFilled", "BoxPlotOutlined", "BoxPlotTwoTone", "BranchesOutlined", "BugFilled", "BugOutlined", "BugTwoTone", "BuildFilled", "BuildOutlined", "BuildTwoTone", "BulbFilled", "BulbOutlined", "BulbTwoTone", "CalculatorFilled", "CalculatorOutlined", "CalculatorTwoTone", "CalendarFilled", "CalendarOutlined", "CalendarTwoTone", "CameraFilled", "CameraOutlined", "CameraTwoTone", "CarFilled", "CarOutlined", "CarTwoTone", "CaretDownFilled", "CaretDownOutlined", "CaretLeftFilled", "CaretLeftOutlined", "CaretRightFilled", "CaretRightOutlined", "CaretUpFilled", "CaretUpOutlined", "CarryOutFilled", "CarryOutOutlined", "CarryOutTwoTone", "CheckCircleFilled", "CheckCircleOutlined", "CheckCircleTwoTone", "CheckOutlined", "CheckSquareFilled", "CheckSquareOutlined", "CheckSquareTwoTone", "ChromeFilled", "ChromeOutlined", "CiCircleFilled", "CiCircleOutlined", "CiCircleTwoTone", "CiOutlined", "CiTwoTone", "ClearOutlined", "ClockCircleFilled", "ClockCircleOutlined", "ClockCircleTwoTone", "CloseCircleFilled", "CloseCircleOutlined", "CloseCircleTwoTone", "CloseOutlined", "CloseSquareFilled", "CloseSquareOutlined", "CloseSquareTwoTone", "CloudDownloadOutlined", "CloudFilled", "CloudOutlined", "CloudServerOutlined", "CloudSyncOutlined", "CloudTwoTone", "CloudUploadOutlined", "ClusterOutlined", "CodeFilled", "CodeOutlined", "CodeSandboxCircleFilled", "CodeSandboxOutlined", "CodeSandboxSquareFilled", "CodeTwoTone", "CodepenCircleFilled", "CodepenCircleOutlined", "CodepenOutlined", "CodepenSquareFilled", "CoffeeOutlined", "ColumnHeightOutlined", "ColumnWidthOutlined", "CommentOutlined", "CompassFilled", "CompassOutlined", "CompassTwoTone", "CompressOutlined", "ConsoleSqlOutlined", "ContactsFilled", "ContactsOutlined", "ContactsTwoTone", "ContainerFilled", "ContainerOutlined", "ContainerTwoTone", "ControlFilled", "ControlOutlined", "ControlTwoTone", "CopyFilled", "CopyOutlined", "CopyTwoTone", "CopyrightCircleFilled", "CopyrightCircleOutlined", "CopyrightCircleTwoTone", "CopyrightOutlined", "CopyrightTwoTone", "CreditCardFilled", "CreditCardOutlined", "CreditCardTwoTone", "CrownFilled", "CrownOutlined", "CrownTwoTone", "CustomerServiceFilled", "CustomerServiceOutlined", "CustomerServiceTwoTone", "DashOutlined", "DashboardFilled", "DashboardOutlined", "DashboardTwoTone", "DatabaseFilled", "DatabaseOutlined", "DatabaseTwoTone", "DeleteColumnOutlined", "DeleteFilled", "DeleteOutlined", "DeleteRowOutlined", "DeleteTwoTone", "DeliveredProcedureOutlined", "DeploymentUnitOutlined", "DesktopOutlined", "DiffFilled", "DiffOutlined", "DiffTwoTone", "DingdingOutlined", "DingtalkCircleFilled", "DingtalkOutlined", "DingtalkSquareFilled", "DisconnectOutlined", "DiscordFilled", "DiscordOutlined", "DislikeFilled", "DislikeOutlined", "DislikeTwoTone", "DockerOutlined", "DollarCircleFilled", "DollarCircleOutlined", "DollarCircleTwoTone", "DollarOutlined", "DollarTwoTone", "DotChartOutlined", "DotNetOutlined", "DoubleLeftOutlined", "DoubleRightOutlined", "DownCircleFilled", "DownCircleOutlined", "DownCircleTwoTone", "DownOutlined", "DownSquareFilled", "DownSquareOutlined", "DownSquareTwoTone", "DownloadOutlined", "DragOutlined", "DribbbleCircleFilled", "DribbbleOutlined", "DribbbleSquareFilled", "DribbbleSquareOutlined", "DropboxCircleFilled", "DropboxOutlined", "DropboxSquareFilled", "EditFilled", "EditOutlined", "EditTwoTone", "EllipsisOutlined", "EnterOutlined", "EnvironmentFilled", "EnvironmentOutlined", "EnvironmentTwoTone", "EuroCircleFilled", "EuroCircleOutlined", "EuroCircleTwoTone", "EuroOutlined", "EuroTwoTone", "ExceptionOutlined", "ExclamationCircleFilled", "ExclamationCircleOutlined", "ExclamationCircleTwoTone", "ExclamationOutlined", "ExpandAltOutlined", "ExpandOutlined", "ExperimentFilled", "ExperimentOutlined", "ExperimentTwoTone", "ExportOutlined", "EyeFilled", "EyeInvisibleFilled", "EyeInvisibleOutlined", "EyeInvisibleTwoTone", "EyeOutlined", "EyeTwoTone", "FacebookFilled", "FacebookOutlined", "FallOutlined", "FastBackwardFilled", "FastBackwardOutlined", "FastForwardFilled", "FastForwardOutlined", "FieldBinaryOutlined", "FieldNumberOutlined", "FieldStringOutlined", "FieldTimeOutlined", "FileAddFilled", "FileAddOutlined", "FileAddTwoTone", "FileDoneOutlined", "FileExcelFilled", "FileExcelOutlined", "FileExcelTwoTone", "FileExclamationFilled", "FileExclamationOutlined", "FileExclamationTwoTone", "FileFilled", "FileGifOutlined", "FileImageFilled", "FileImageOutlined", "FileImageTwoTone", "FileJpgOutlined", "FileMarkdownFilled", "FileMarkdownOutlined", "FileMarkdownTwoTone", "FileOutlined", "FilePdfFilled", "FilePdfOutlined", "FilePdfTwoTone", "FilePptFilled", "FilePptOutlined", "FilePptTwoTone", "FileProtectOutlined", "FileSearchOutlined", "FileSyncOutlined", "FileTextFilled", "FileTextOutlined", "FileTextTwoTone", "FileTwoTone", "FileUnknownFilled", "FileUnknownOutlined", "FileUnknownTwoTone", "FileWordFilled", "FileWordOutlined", "FileWordTwoTone", "FileZipFilled", "FileZipOutlined", "FileZipTwoTone", "FilterFilled", "FilterOutlined", "FilterTwoTone", "FireFilled", "FireOutlined", "FireTwoTone", "FlagFilled", "FlagOutlined", "FlagTwoTone", "FolderAddFilled", "FolderAddOutlined", "FolderAddTwoTone", "FolderFilled", "FolderOpenFilled", "FolderOpenOutlined", "FolderOpenTwoTone", "FolderOutlined", "FolderTwoTone", "FolderViewOutlined", "FontColorsOutlined", "FontSizeOutlined", "ForkOutlined", "FormOutlined", "FormatPainterFilled", "FormatPainterOutlined", "ForwardFilled", "ForwardOutlined", "FrownFilled", "FrownOutlined", "FrownTwoTone", "FullscreenExitOutlined", "FullscreenOutlined", "FunctionOutlined", "FundFilled", "FundOutlined", "FundProjectionScreenOutlined", "FundTwoTone", "FundViewOutlined", "FunnelPlotFilled", "FunnelPlotOutlined", "FunnelPlotTwoTone", "GatewayOutlined", "GifOutlined", "GiftFilled", "GiftOutlined", "GiftTwoTone", "GithubFilled", "GithubOutlined", "GitlabFilled", "GitlabOutlined", "GlobalOutlined", "GoldFilled", "GoldOutlined", "GoldTwoTone", "GoldenFilled", "GoogleCircleFilled", "GoogleOutlined", "GooglePlusCircleFilled", "GooglePlusOutlined", "GooglePlusSquareFilled", "GoogleSquareFilled", "GroupOutlined", "HarmonyOSOutlined", "HddFilled", "HddOutlined", "HddTwoTone", "HeartFilled", "HeartOutlined", "HeartTwoTone", "HeatMapOutlined", "HighlightFilled", "HighlightOutlined", "HighlightTwoTone", "HistoryOutlined", "HolderOutlined", "HomeFilled", "HomeOutlined", "HomeTwoTone", "HourglassFilled", "HourglassOutlined", "HourglassTwoTone", "Html5Filled", "Html5Outlined", "Html5TwoTone", "IdcardFilled", "IdcardOutlined", "IdcardTwoTone", "IeCircleFilled", "IeOutlined", "IeSquareFilled", "ImportOutlined", "InboxOutlined", "InfoCircleFilled", "InfoCircleOutlined", "InfoCircleTwoTone", "InfoOutlined", "InsertRowAboveOutlined", "InsertRowBelowOutlined", "InsertRowLeftOutlined", "InsertRowRightOutlined", "InstagramFilled", "InstagramOutlined", "InsuranceFilled", "InsuranceOutlined", "InsuranceTwoTone", "InteractionFilled", "InteractionOutlined", "InteractionTwoTone", "IssuesCloseOutlined", "ItalicOutlined", "JavaOutlined", "JavaScriptOutlined", "KeyOutlined", "KubernetesOutlined", "LaptopOutlined", "LayoutFilled", "LayoutOutlined", "LayoutTwoTone", "LeftCircleFilled", "LeftCircleOutlined", "LeftCircleTwoTone", "LeftOutlined", "LeftSquareFilled", "LeftSquareOutlined", "LeftSquareTwoTone", "LikeFilled", "LikeOutlined", "LikeTwoTone", "LineChartOutlined", "LineHeightOutlined", "LineOutlined", "LinkOutlined", "LinkedinFilled", "LinkedinOutlined", "LinuxOutlined", "Loading3QuartersOutlined", "LoadingOutlined", "LockFilled", "LockOutlined", "LockTwoTone", "LoginOutlined", "LogoutOutlined", "MacCommandFilled", "MacCommandOutlined", "MailFilled", "MailOutlined", "MailTwoTone", "ManOutlined", "MedicineBoxFilled", "MedicineBoxOutlined", "MedicineBoxTwoTone", "MediumCircleFilled", "MediumOutlined", "MediumSquareFilled", "MediumWorkmarkOutlined", "MehFilled", "MehOutlined", "MehTwoTone", "MenuFoldOutlined", "MenuOutlined", "MenuUnfoldOutlined", "MergeCellsOutlined", "MergeFilled", "MergeOutlined", "MessageFilled", "MessageOutlined", "MessageTwoTone", "MinusCircleFilled", "MinusCircleOutlined", "MinusCircleTwoTone", "MinusOutlined", "MinusSquareFilled", "MinusSquareOutlined", "MinusSquareTwoTone", "MobileFilled", "MobileOutlined", "MobileTwoTone", "MoneyCollectFilled", "MoneyCollectOutlined", "MoneyCollectTwoTone", "MonitorOutlined", "MoonFilled", "MoonOutlined", "MoreOutlined", "MutedFilled", "MutedOutlined", "NodeCollapseOutlined", "NodeExpandOutlined", "NodeIndexOutlined", "NotificationFilled", "NotificationOutlined", "NotificationTwoTone", "NumberOutlined", "OneToOneOutlined", "OpenAIFilled", "OpenAIOutlined", "OrderedListOutlined", "PaperClipOutlined", "PartitionOutlined", "PauseCircleFilled", "PauseCircleOutlined", "PauseCircleTwoTone", "PauseOutlined", "PayCircleFilled", "PayCircleOutlined", "PercentageOutlined", "PhoneFilled", "PhoneOutlined", "PhoneTwoTone", "PicCenterOutlined", "PicLeftOutlined", "PicRightOutlined", "PictureFilled", "PictureOutlined", "PictureTwoTone", "PieChartFilled", "PieChartOutlined", "PieChartTwoTone", "PinterestFilled", "PinterestOutlined", "PlayCircleFilled", "PlayCircleOutlined", "PlayCircleTwoTone", "PlaySquareFilled", "PlaySquareOutlined", "PlaySquareTwoTone", "PlusCircleFilled", "PlusCircleOutlined", "PlusCircleTwoTone", "PlusOutlined", "PlusSquareFilled", "PlusSquareOutlined", "PlusSquareTwoTone", "PoundCircleFilled", "PoundCircleOutlined", "PoundCircleTwoTone", "PoundOutlined", "PoweroffOutlined", "PrinterFilled", "PrinterOutlined", "PrinterTwoTone", "ProductFilled", "ProductOutlined", "ProfileFilled", "ProfileOutlined", "ProfileTwoTone", "ProjectFilled", "ProjectOutlined", "ProjectTwoTone", "PropertySafetyFilled", "PropertySafetyOutlined", "PropertySafetyTwoTone", "PullRequestOutlined", "PushpinFilled", "PushpinOutlined", "PushpinTwoTone", "PythonOutlined", "QqCircleFilled", "QqOutlined", "QqSquareFilled", "QrcodeOutlined", "QuestionCircleFilled", "QuestionCircleOutlined", "QuestionCircleTwoTone", "QuestionOutlined", "RadarChartOutlined", "RadiusBottomleftOutlined", "RadiusBottomrightOutlined", "RadiusSettingOutlined", "RadiusUpleftOutlined", "RadiusUprightOutlined", "ReadFilled", "ReadOutlined", "ReconciliationFilled", "ReconciliationOutlined", "ReconciliationTwoTone", "RedEnvelopeFilled", "RedEnvelopeOutlined", "RedEnvelopeTwoTone", "RedditCircleFilled", "RedditOutlined", "RedditSquareFilled", "RedoOutlined", "ReloadOutlined", "RestFilled", "RestOutlined", "RestTwoTone", "RetweetOutlined", "RightCircleFilled", "RightCircleOutlined", "RightCircleTwoTone", "RightOutlined", "RightSquareFilled", "RightSquareOutlined", "RightSquareTwoTone", "RiseOutlined", "RobotFilled", "RobotOutlined", "RocketFilled", "RocketOutlined", "RocketTwoTone", "RollbackOutlined", "RotateLeftOutlined", "RotateRightOutlined", "RubyOutlined", "SafetyCertificateFilled", "SafetyCertificateOutlined", "SafetyCertificateTwoTone", "SafetyOutlined", "SaveFilled", "SaveOutlined", "SaveTwoTone", "ScanOutlined", "ScheduleFilled", "ScheduleOutlined", "ScheduleTwoTone", "ScissorOutlined", "SearchOutlined", "SecurityScanFilled", "SecurityScanOutlined", "SecurityScanTwoTone", "SelectOutlined", "SendOutlined", "SettingFilled", "SettingOutlined", "SettingTwoTone", "ShakeOutlined", "ShareAltOutlined", "ShopFilled", "ShopOutlined", "ShopTwoTone", "ShoppingCartOutlined", "ShoppingFilled", "ShoppingOutlined", "ShoppingTwoTone", "ShrinkOutlined", "SignalFilled", "SignatureFilled", "SignatureOutlined", "SisternodeOutlined", "SketchCircleFilled", "SketchOutlined", "SketchSquareFilled", "SkinFilled", "SkinOutlined", "SkinTwoTone", "SkypeFilled", "SkypeOutlined", "SlackCircleFilled", "SlackOutlined", "SlackSquareFilled", "SlackSquareOutlined", "SlidersFilled", "SlidersOutlined", "SlidersTwoTone", "SmallDashOutlined", "SmileFilled", "SmileOutlined", "SmileTwoTone", "SnippetsFilled", "SnippetsOutlined", "SnippetsTwoTone", "SolutionOutlined", "SortAscendingOutlined", "SortDescendingOutlined", "SoundFilled", "SoundOutlined", "SoundTwoTone", "SplitCellsOutlined", "SpotifyFilled", "SpotifyOutlined", "StarFilled", "StarOutlined", "StarTwoTone", "StepBackwardFilled", "StepBackwardOutlined", "StepForwardFilled", "StepForwardOutlined", "StockOutlined", "StopFilled", "StopOutlined", "StopTwoTone", "StrikethroughOutlined", "SubnodeOutlined", "SunFilled", "SunOutlined", "SwapLeftOutlined", "SwapOutlined", "SwapRightOutlined", "SwitcherFilled", "SwitcherOutlined", "SwitcherTwoTone", "SyncOutlined", "TableOutlined", "TabletFilled", "TabletOutlined", "TabletTwoTone", "TagFilled", "TagOutlined", "TagTwoTone", "TagsFilled", "TagsOutlined", "TagsTwoTone", "TaobaoCircleFilled", "TaobaoCircleOutlined", "TaobaoOutlined", "TaobaoSquareFilled", "TeamOutlined", "ThunderboltFilled", "ThunderboltOutlined", "ThunderboltTwoTone", "TikTokFilled", "TikTokOutlined", "ToTopOutlined", "ToolFilled", "ToolOutlined", "ToolTwoTone", "TrademarkCircleFilled", "TrademarkCircleOutlined", "TrademarkCircleTwoTone", "TrademarkOutlined", "TransactionOutlined", "TranslationOutlined", "TrophyFilled", "TrophyOutlined", "TrophyTwoTone", "TruckFilled", "TruckOutlined", "TwitchFilled", "TwitchOutlined", "TwitterCircleFilled", "TwitterOutlined", "TwitterSquareFilled", "UnderlineOutlined", "UndoOutlined", "UngroupOutlined", "UnlockFilled", "UnlockOutlined", "UnlockTwoTone", "UnorderedListOutlined", "UpCircleFilled", "UpCircleOutlined", "UpCircleTwoTone", "UpOutlined", "UpSquareFilled", "UpSquareOutlined", "UpSquareTwoTone", "UploadOutlined", "UsbFilled", "UsbOutlined", "UsbTwoTone", "UserAddOutlined", "UserDeleteOutlined", "UserOutlined", "UserSwitchOutlined", "UsergroupAddOutlined", "UsergroupDeleteOutlined", "VerifiedOutlined", "VerticalAlignBottomOutlined", "VerticalAlignMiddleOutlined", "VerticalAlignTopOutlined", "VerticalLeftOutlined", "VerticalRightOutlined", "VideoCameraAddOutlined", "VideoCameraFilled", "VideoCameraOutlined", "VideoCameraTwoTone", "WalletFilled", "WalletOutlined", "WalletTwoTone", "WarningFilled", "WarningOutlined", "WarningTwoTone", "WechatFilled", "WechatOutlined", "WechatWorkFilled", "WechatWorkOutlined", "WeiboCircleFilled", "WeiboCircleOutlined", "WeiboOutlined", "WeiboSquareFilled", "WeiboSquareOutlined", "WhatsAppOutlined", "WifiOutlined", "WindowsFilled", "WindowsOutlined", "WomanOutlined", "XFilled", "XOutlined", "YahooFilled", "YahooOutlined", "YoutubeFilled", "YoutubeOutlined", "YuqueFilled", "YuqueOutlined", "ZhihuCircleFilled", "ZhihuOutlined", "ZhihuSquareFilled", "ZoomInOutlined", "ZoomOutOutlined"];
|
|
2
|
+
export type IconName = (typeof icons)[number];
|
|
3
|
+
export default icons;
|