@antdv-next/auto-import-resolver 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/LICENSE +21 -0
- package/README.md +163 -0
- package/README.zh-CN.md +163 -0
- package/dist/index.d.mts +26 -0
- package/dist/index.mjs +992 -0
- package/package.json +34 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Antdv Next
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
# Antdv-next Auto Import Resolver
|
|
2
|
+
|
|
3
|
+
English | [简体中文](./README.zh-CN.md)
|
|
4
|
+
|
|
5
|
+
`@antdv-next/auto-import-resolver` is a resolver for [unplugin-vue-components](https://github.com/unplugin/unplugin-vue-components) that enables on-demand importing of [Antdv Next](https://antdv-next.com) components.
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
- Supports `Vite`, `Webpack`, `Rspack`, `Vue CLI`, `Rollup`, `esbuild`, and more.
|
|
10
|
+
|
|
11
|
+
### Installation
|
|
12
|
+
|
|
13
|
+
```shell
|
|
14
|
+
# via npm
|
|
15
|
+
npm i @antdv-next/auto-import-resolver unplugin-vue-components unplugin-auto-import -D
|
|
16
|
+
|
|
17
|
+
# via yarn
|
|
18
|
+
yarn add @antdv-next/auto-import-resolver unplugin-vue-components unplugin-auto-import -D
|
|
19
|
+
|
|
20
|
+
# via pnpm
|
|
21
|
+
pnpm add @antdv-next/auto-import-resolver unplugin-vue-components unplugin-auto-import -D
|
|
22
|
+
|
|
23
|
+
# via Bun
|
|
24
|
+
bun add @antdv-next/auto-import-resolver unplugin-vue-components unplugin-auto-import -D
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Usage
|
|
28
|
+
|
|
29
|
+
### Vite
|
|
30
|
+
|
|
31
|
+
```ts
|
|
32
|
+
// vite.config.ts
|
|
33
|
+
import { AntdvNextResolver } from '@antdv-next/auto-import-resolver'
|
|
34
|
+
import Components from 'unplugin-vue-components/vite'
|
|
35
|
+
|
|
36
|
+
export default defineConfig({
|
|
37
|
+
plugins: [
|
|
38
|
+
Components({
|
|
39
|
+
resolvers: [AntdvNextResolver()],
|
|
40
|
+
}),
|
|
41
|
+
],
|
|
42
|
+
})
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
### Rollup
|
|
46
|
+
|
|
47
|
+
```ts
|
|
48
|
+
// rollup.config.js
|
|
49
|
+
import { AntdvNextResolver } from '@antdv-next/auto-import-resolver'
|
|
50
|
+
import Components from 'unplugin-vue-components/rollup'
|
|
51
|
+
|
|
52
|
+
export default {
|
|
53
|
+
plugins: [
|
|
54
|
+
Components({
|
|
55
|
+
resolvers: [AntdvNextResolver()],
|
|
56
|
+
}),
|
|
57
|
+
],
|
|
58
|
+
}
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
### Webpack
|
|
62
|
+
|
|
63
|
+
```ts
|
|
64
|
+
// webpack.config.js
|
|
65
|
+
import { AntdvNextResolver } from '@antdv-next/auto-import-resolver'
|
|
66
|
+
import Components from 'unplugin-vue-components/webpack'
|
|
67
|
+
|
|
68
|
+
module.exports = {
|
|
69
|
+
plugins: [
|
|
70
|
+
Components({
|
|
71
|
+
resolvers: [AntdvNextResolver()],
|
|
72
|
+
}),
|
|
73
|
+
],
|
|
74
|
+
}
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
### Rspack
|
|
78
|
+
|
|
79
|
+
```ts
|
|
80
|
+
// rspack.config.js
|
|
81
|
+
import { AntdvNextResolver } from '@antdv-next/auto-import-resolver'
|
|
82
|
+
import Components from 'unplugin-vue-components/rspack'
|
|
83
|
+
|
|
84
|
+
module.exports = {
|
|
85
|
+
plugins: [
|
|
86
|
+
Components({
|
|
87
|
+
resolvers: [AntdvNextResolver()],
|
|
88
|
+
}),
|
|
89
|
+
],
|
|
90
|
+
}
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
### Vue CLI
|
|
94
|
+
|
|
95
|
+
```ts
|
|
96
|
+
// vue.config.js
|
|
97
|
+
import { AntdvNextResolver } from '@antdv-next/auto-import-resolver'
|
|
98
|
+
import Components from 'unplugin-vue-components/webpack'
|
|
99
|
+
|
|
100
|
+
module.exports = {
|
|
101
|
+
configureWebpack: {
|
|
102
|
+
plugins: [
|
|
103
|
+
Components({
|
|
104
|
+
resolvers: [AntdvNextResolver()],
|
|
105
|
+
}),
|
|
106
|
+
],
|
|
107
|
+
},
|
|
108
|
+
}
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
### esbuild
|
|
112
|
+
|
|
113
|
+
```ts
|
|
114
|
+
// esbuild.config.js
|
|
115
|
+
import { AntdvNextResolver } from '@antdv-next/auto-import-resolver'
|
|
116
|
+
import Components from 'unplugin-vue-components/esbuild'
|
|
117
|
+
|
|
118
|
+
build({
|
|
119
|
+
plugins: [
|
|
120
|
+
Components({
|
|
121
|
+
resolvers: [AntdvNextResolver()],
|
|
122
|
+
}),
|
|
123
|
+
],
|
|
124
|
+
})
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
## Options
|
|
128
|
+
|
|
129
|
+
### resolveIcons
|
|
130
|
+
|
|
131
|
+
Automatically import [@antdv-next/icons](https://www.antdv-next.com/components/icon-cn) icons library.
|
|
132
|
+
|
|
133
|
+
- **Type:** `boolean`
|
|
134
|
+
- **Default:** `false`
|
|
135
|
+
- **Example:**
|
|
136
|
+
|
|
137
|
+
```ts
|
|
138
|
+
Components({
|
|
139
|
+
resolvers: [
|
|
140
|
+
AntdvNextResolver({
|
|
141
|
+
resolveIcons: true,
|
|
142
|
+
})
|
|
143
|
+
]
|
|
144
|
+
})
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
### exclude
|
|
148
|
+
|
|
149
|
+
Set the components or icons that do not require automatic import.
|
|
150
|
+
|
|
151
|
+
- **Type:** `string[]`
|
|
152
|
+
- **Default:** `[]`
|
|
153
|
+
- **Example:**
|
|
154
|
+
|
|
155
|
+
```ts
|
|
156
|
+
Components({
|
|
157
|
+
resolvers: [
|
|
158
|
+
AntdvNextResolver({
|
|
159
|
+
exclude: ['Button'],
|
|
160
|
+
}),
|
|
161
|
+
],
|
|
162
|
+
})
|
|
163
|
+
```
|
package/README.zh-CN.md
ADDED
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
# Antdv-next Auto Import Resolver
|
|
2
|
+
|
|
3
|
+
[English](./README.md) | 简体中文
|
|
4
|
+
|
|
5
|
+
`@antdv-next/auto-import-resolver` 是 [unplugin-vue-components](https://github.com/unplugin/unplugin-vue-components) 的一个解析器,用于实现 [Antdv Next](https://antdv-next.com) 按需引入。
|
|
6
|
+
|
|
7
|
+
### 特性
|
|
8
|
+
|
|
9
|
+
- 支持 `Vite`, `Webpack`, `Rspack`, `Vue CLI`, `Rollup`, `esbuild` 等
|
|
10
|
+
|
|
11
|
+
### 安装
|
|
12
|
+
|
|
13
|
+
```shell
|
|
14
|
+
# via npm
|
|
15
|
+
npm i @antdv-next/auto-import-resolver unplugin-vue-components unplugin-auto-import -D
|
|
16
|
+
|
|
17
|
+
# via yarn
|
|
18
|
+
yarn add @antdv-next/auto-import-resolver unplugin-vue-components unplugin-auto-import -D
|
|
19
|
+
|
|
20
|
+
# via pnpm
|
|
21
|
+
pnpm add @antdv-next/auto-import-resolver unplugin-vue-components unplugin-auto-import -D
|
|
22
|
+
|
|
23
|
+
# via Bun
|
|
24
|
+
bun add @antdv-next/auto-import-resolver unplugin-vue-components unplugin-auto-import -D
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## 使用
|
|
28
|
+
|
|
29
|
+
### Vite
|
|
30
|
+
|
|
31
|
+
```ts
|
|
32
|
+
import { AntdvNextResolver } from '@antdv-next/auto-import-resolver'
|
|
33
|
+
// vite.config.ts
|
|
34
|
+
import Components from 'unplugin-vue-components/vite'
|
|
35
|
+
|
|
36
|
+
export default defineConfig({
|
|
37
|
+
plugins: [
|
|
38
|
+
Components({
|
|
39
|
+
resolvers: [AntdvNextResolver()],
|
|
40
|
+
}),
|
|
41
|
+
],
|
|
42
|
+
})
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
### Rollup
|
|
46
|
+
|
|
47
|
+
```ts
|
|
48
|
+
import { AntdvNextResolver } from '@antdv-next/auto-import-resolver'
|
|
49
|
+
// rollup.config.js
|
|
50
|
+
import Components from 'unplugin-vue-components/rollup'
|
|
51
|
+
|
|
52
|
+
export default {
|
|
53
|
+
plugins: [
|
|
54
|
+
Components({
|
|
55
|
+
resolvers: [AntdvNextResolver()],
|
|
56
|
+
}),
|
|
57
|
+
],
|
|
58
|
+
}
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
### Webpack
|
|
62
|
+
|
|
63
|
+
```ts
|
|
64
|
+
import { AntdvNextResolver } from '@antdv-next/auto-import-resolver'
|
|
65
|
+
// webpack.config.js
|
|
66
|
+
import Components from 'unplugin-vue-components/webpack'
|
|
67
|
+
|
|
68
|
+
module.exports = {
|
|
69
|
+
plugins: [
|
|
70
|
+
Components({
|
|
71
|
+
resolvers: [AntdvNextResolver()],
|
|
72
|
+
}),
|
|
73
|
+
],
|
|
74
|
+
}
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
### Rspack
|
|
78
|
+
|
|
79
|
+
```ts
|
|
80
|
+
import { AntdvNextResolver } from '@antdv-next/auto-import-resolver'
|
|
81
|
+
// rspack.config.js
|
|
82
|
+
import Components from 'unplugin-vue-components/rspack'
|
|
83
|
+
|
|
84
|
+
module.exports = {
|
|
85
|
+
plugins: [
|
|
86
|
+
Components({
|
|
87
|
+
resolvers: [AntdvNextResolver()],
|
|
88
|
+
}),
|
|
89
|
+
],
|
|
90
|
+
}
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
### Vue CLI
|
|
94
|
+
|
|
95
|
+
```ts
|
|
96
|
+
import { AntdvNextResolver } from '@antdv-next/auto-import-resolver'
|
|
97
|
+
// vue.config.js
|
|
98
|
+
import Components from 'unplugin-vue-components/webpack'
|
|
99
|
+
|
|
100
|
+
module.exports = {
|
|
101
|
+
configureWebpack: {
|
|
102
|
+
plugins: [
|
|
103
|
+
Components({
|
|
104
|
+
resolvers: [AntdvNextResolver()],
|
|
105
|
+
}),
|
|
106
|
+
],
|
|
107
|
+
},
|
|
108
|
+
}
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
### esbuild
|
|
112
|
+
|
|
113
|
+
```ts
|
|
114
|
+
import { AntdvNextResolver } from '@antdv-next/auto-import-resolver'
|
|
115
|
+
// esbuild.config.js
|
|
116
|
+
import Components from 'unplugin-vue-components/esbuild'
|
|
117
|
+
|
|
118
|
+
build({
|
|
119
|
+
plugins: [
|
|
120
|
+
Components({
|
|
121
|
+
resolvers: [AntdvNextResolver()],
|
|
122
|
+
}),
|
|
123
|
+
],
|
|
124
|
+
})
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
## 选项
|
|
128
|
+
|
|
129
|
+
### resolveIcons
|
|
130
|
+
|
|
131
|
+
自动引入 [@antdv-next/icons](https://www.antdv-next.com/components/icon-cn) 图标库
|
|
132
|
+
|
|
133
|
+
- **Type:** `boolean`
|
|
134
|
+
- **Default:** `false`
|
|
135
|
+
- **Example:**
|
|
136
|
+
|
|
137
|
+
```ts
|
|
138
|
+
Components({
|
|
139
|
+
resolvers: [
|
|
140
|
+
AntdvNextResolver({
|
|
141
|
+
resolveIcons: true,
|
|
142
|
+
})
|
|
143
|
+
]
|
|
144
|
+
})
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
### exclude
|
|
148
|
+
|
|
149
|
+
设置不自动引入的组件或图标。
|
|
150
|
+
|
|
151
|
+
- **Type:** `string[]`
|
|
152
|
+
- **Default:** `[]`
|
|
153
|
+
- **Example:**
|
|
154
|
+
|
|
155
|
+
```ts
|
|
156
|
+
Components({
|
|
157
|
+
resolvers: [
|
|
158
|
+
AntdvNextResolver({
|
|
159
|
+
exclude: ['Button'],
|
|
160
|
+
}),
|
|
161
|
+
],
|
|
162
|
+
})
|
|
163
|
+
```
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ComponentResolver } from "unplugin-vue-components";
|
|
2
|
+
|
|
3
|
+
//#region src/index.d.ts
|
|
4
|
+
interface AntdvNextResolverOptions {
|
|
5
|
+
/**
|
|
6
|
+
* Set the components or icons that do not require automatic import.
|
|
7
|
+
*
|
|
8
|
+
* @default []
|
|
9
|
+
*/
|
|
10
|
+
exclude?: FilterPattern;
|
|
11
|
+
/**
|
|
12
|
+
* Automatically import [@antdv-next/icons](https://www.antdv-next.com/components/icon-cn) icons library.
|
|
13
|
+
*
|
|
14
|
+
* requires package `@antdv-next/icons`
|
|
15
|
+
*
|
|
16
|
+
* @default false
|
|
17
|
+
*/
|
|
18
|
+
resolveIcons?: boolean;
|
|
19
|
+
}
|
|
20
|
+
type FilterPattern = ReadonlyArray<string | RegExp> | string | RegExp | null;
|
|
21
|
+
/**
|
|
22
|
+
* Resolver for [Antdv Next](https://antdv-next.com)
|
|
23
|
+
*/
|
|
24
|
+
declare function AntdvNextResolver(options?: AntdvNextResolverOptions): ComponentResolver;
|
|
25
|
+
//#endregion
|
|
26
|
+
export { AntdvNextResolver, AntdvNextResolverOptions, FilterPattern };
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,992 @@
|
|
|
1
|
+
//#region src/components.ts
|
|
2
|
+
var components_default = {
|
|
3
|
+
AAffix: "Affix",
|
|
4
|
+
AButton: "Button",
|
|
5
|
+
AAlert: "Alert",
|
|
6
|
+
AAnchor: "Anchor",
|
|
7
|
+
ASpace: "Space",
|
|
8
|
+
ADivider: "Divider",
|
|
9
|
+
ASpaceCompact: "SpaceCompact",
|
|
10
|
+
ASpaceAddon: "SpaceAddon",
|
|
11
|
+
AStyleProvider: "StyleProvider",
|
|
12
|
+
AFlex: "Flex",
|
|
13
|
+
AConfigProvider: "ConfigProvider",
|
|
14
|
+
ACol: "Col",
|
|
15
|
+
ARow: "Row",
|
|
16
|
+
ABadge: "Badge",
|
|
17
|
+
ABadgeRibbon: "Badge",
|
|
18
|
+
ATag: "Tag",
|
|
19
|
+
ACheckableTag: "CheckableTag",
|
|
20
|
+
ALayout: "Layout",
|
|
21
|
+
ALayoutHeader: "LayoutHeader",
|
|
22
|
+
ALayoutFooter: "LayoutFooter",
|
|
23
|
+
ALayoutContent: "LayoutContent",
|
|
24
|
+
ALayoutSider: "LayoutSider",
|
|
25
|
+
AEmpty: "Empty",
|
|
26
|
+
AResult: "Result",
|
|
27
|
+
ASpin: "Spin",
|
|
28
|
+
ASkeleton: "Skeleton",
|
|
29
|
+
ASkeletonButton: "SkeletonButton",
|
|
30
|
+
ASkeletonAvatar: "SkeletonAvatar",
|
|
31
|
+
ASkeletonInput: "SkeletonInput",
|
|
32
|
+
ASkeletonImage: "SkeletonImage",
|
|
33
|
+
ASkeletonNode: "SkeletonNode",
|
|
34
|
+
AStatistic: "Statistic",
|
|
35
|
+
AStatisticTimer: "StatisticTimer",
|
|
36
|
+
ADescriptions: "Descriptions",
|
|
37
|
+
ATimeline: "Timeline",
|
|
38
|
+
AWatermark: "Watermark",
|
|
39
|
+
AQrcode: "QRCode",
|
|
40
|
+
ACollapse: "Collapse",
|
|
41
|
+
ATooltip: "Tooltip",
|
|
42
|
+
ASegmented: "Segmented",
|
|
43
|
+
APopover: "Popover",
|
|
44
|
+
APopconfirm: "Popconfirm",
|
|
45
|
+
AFloatButton: "FloatButton",
|
|
46
|
+
AFloatBackTop: "BackTop",
|
|
47
|
+
AFloatButtonGroup: "FloatButtonGroup",
|
|
48
|
+
AMenu: "Menu",
|
|
49
|
+
ADropdown: "Dropdown",
|
|
50
|
+
ATour: "Tour",
|
|
51
|
+
ABreadcrumb: "Breadcrumb",
|
|
52
|
+
AAvatar: "Avatar",
|
|
53
|
+
AAvatarGroup: "AvatarGroup",
|
|
54
|
+
AForm: "Form",
|
|
55
|
+
AFormItem: "FormItem",
|
|
56
|
+
ACheckbox: "Checkbox",
|
|
57
|
+
ACheckboxGroup: "CheckboxGroup",
|
|
58
|
+
ARadio: "Radio",
|
|
59
|
+
ARadioGroup: "RadioGroup",
|
|
60
|
+
ARadioButton: "RadioButton",
|
|
61
|
+
ASwitch: "Switch",
|
|
62
|
+
AColorPicker: "ColorPicker",
|
|
63
|
+
ASlider: "Slider",
|
|
64
|
+
AInput: "Input",
|
|
65
|
+
AInputSearch: "InputSearch",
|
|
66
|
+
AInputPassword: "InputPassword",
|
|
67
|
+
AInputOtp: "InputOTP",
|
|
68
|
+
AInputGroup: "InputGroup",
|
|
69
|
+
AInputNumber: "InputNumber",
|
|
70
|
+
ATextarea: "TextArea",
|
|
71
|
+
ATypography: "Typography",
|
|
72
|
+
ATypographyText: "TypographyText",
|
|
73
|
+
ATypographyTitle: "TypographyTitle",
|
|
74
|
+
ATypographyParagraph: "TypographyParagraph",
|
|
75
|
+
ATypographyLink: "TypographyLink",
|
|
76
|
+
ATabs: "Tabs",
|
|
77
|
+
ATabPane: "TabPane",
|
|
78
|
+
ASelect: "Select",
|
|
79
|
+
ASelectOption: "SelectOption",
|
|
80
|
+
ASelectOptGroup: "SelectOptGroup",
|
|
81
|
+
ASplitter: "Splitter",
|
|
82
|
+
ASplitterPanel: "SplitterPanel",
|
|
83
|
+
ACard: "Card",
|
|
84
|
+
ACardGrid: "CardGrid",
|
|
85
|
+
ACardMeta: "CardMeta",
|
|
86
|
+
AMasonry: "Masonry",
|
|
87
|
+
ARate: "Rate",
|
|
88
|
+
AProgress: "Progress",
|
|
89
|
+
ADrawer: "Drawer",
|
|
90
|
+
AModal: "Modal",
|
|
91
|
+
ASteps: "Steps",
|
|
92
|
+
AImage: "Image",
|
|
93
|
+
AImagePreviewGroup: "ImagePreviewGroup",
|
|
94
|
+
AApp: "App",
|
|
95
|
+
ATree: "Tree",
|
|
96
|
+
ADirectoryTree: "DirectoryTree",
|
|
97
|
+
ATreeSelect: "TreeSelect",
|
|
98
|
+
AUpload: "Upload",
|
|
99
|
+
AUploadDragger: "UploadDragger",
|
|
100
|
+
APagination: "Pagination",
|
|
101
|
+
ATransfer: "Transfer",
|
|
102
|
+
AMentions: "Mentions",
|
|
103
|
+
ACarousel: "Carousel",
|
|
104
|
+
ACascader: "Cascader",
|
|
105
|
+
ATable: "Table",
|
|
106
|
+
ATableColumn: "TableColumn",
|
|
107
|
+
ATableSummary: "TableSummary",
|
|
108
|
+
ATableSummaryRow: "TableSummaryRow",
|
|
109
|
+
ATableSummaryCell: "TableSummaryCell",
|
|
110
|
+
ACalendar: "Calendar",
|
|
111
|
+
ADatePicker: "DatePicker",
|
|
112
|
+
ARangePicker: "DateRangePicker",
|
|
113
|
+
ATimePicker: "TimePicker",
|
|
114
|
+
ATimeRangePicker: "TimeRangePicker",
|
|
115
|
+
AAutoComplete: "AutoComplete",
|
|
116
|
+
AAutoCompleteOption: "AutoCompleteOption"
|
|
117
|
+
};
|
|
118
|
+
|
|
119
|
+
//#endregion
|
|
120
|
+
//#region src/icons.ts
|
|
121
|
+
var icons_default = [
|
|
122
|
+
"AccountBookFilled",
|
|
123
|
+
"AccountBookOutlined",
|
|
124
|
+
"AccountBookTwoTone",
|
|
125
|
+
"AimOutlined",
|
|
126
|
+
"AlertFilled",
|
|
127
|
+
"AlertOutlined",
|
|
128
|
+
"AlertTwoTone",
|
|
129
|
+
"AlibabaOutlined",
|
|
130
|
+
"AlignCenterOutlined",
|
|
131
|
+
"AlignLeftOutlined",
|
|
132
|
+
"AlignRightOutlined",
|
|
133
|
+
"AlipayCircleFilled",
|
|
134
|
+
"AlipayCircleOutlined",
|
|
135
|
+
"AlipayOutlined",
|
|
136
|
+
"AlipaySquareFilled",
|
|
137
|
+
"AliwangwangFilled",
|
|
138
|
+
"AliwangwangOutlined",
|
|
139
|
+
"AliyunOutlined",
|
|
140
|
+
"AmazonCircleFilled",
|
|
141
|
+
"AmazonOutlined",
|
|
142
|
+
"AmazonSquareFilled",
|
|
143
|
+
"AndroidFilled",
|
|
144
|
+
"AndroidOutlined",
|
|
145
|
+
"AntCloudOutlined",
|
|
146
|
+
"AntDesignOutlined",
|
|
147
|
+
"ApartmentOutlined",
|
|
148
|
+
"ApiFilled",
|
|
149
|
+
"ApiOutlined",
|
|
150
|
+
"ApiTwoTone",
|
|
151
|
+
"AppleFilled",
|
|
152
|
+
"AppleOutlined",
|
|
153
|
+
"AppstoreAddOutlined",
|
|
154
|
+
"AppstoreFilled",
|
|
155
|
+
"AppstoreOutlined",
|
|
156
|
+
"AppstoreTwoTone",
|
|
157
|
+
"AreaChartOutlined",
|
|
158
|
+
"ArrowDownOutlined",
|
|
159
|
+
"ArrowLeftOutlined",
|
|
160
|
+
"ArrowRightOutlined",
|
|
161
|
+
"ArrowUpOutlined",
|
|
162
|
+
"ArrowsAltOutlined",
|
|
163
|
+
"AudioFilled",
|
|
164
|
+
"AudioMutedOutlined",
|
|
165
|
+
"AudioOutlined",
|
|
166
|
+
"AudioTwoTone",
|
|
167
|
+
"AuditOutlined",
|
|
168
|
+
"BackwardFilled",
|
|
169
|
+
"BackwardOutlined",
|
|
170
|
+
"BaiduOutlined",
|
|
171
|
+
"BankFilled",
|
|
172
|
+
"BankOutlined",
|
|
173
|
+
"BankTwoTone",
|
|
174
|
+
"BarChartOutlined",
|
|
175
|
+
"BarcodeOutlined",
|
|
176
|
+
"BarsOutlined",
|
|
177
|
+
"BehanceCircleFilled",
|
|
178
|
+
"BehanceOutlined",
|
|
179
|
+
"BehanceSquareFilled",
|
|
180
|
+
"BehanceSquareOutlined",
|
|
181
|
+
"BellFilled",
|
|
182
|
+
"BellOutlined",
|
|
183
|
+
"BellTwoTone",
|
|
184
|
+
"BgColorsOutlined",
|
|
185
|
+
"BilibiliFilled",
|
|
186
|
+
"BilibiliOutlined",
|
|
187
|
+
"BlockOutlined",
|
|
188
|
+
"BoldOutlined",
|
|
189
|
+
"BookFilled",
|
|
190
|
+
"BookOutlined",
|
|
191
|
+
"BookTwoTone",
|
|
192
|
+
"BorderBottomOutlined",
|
|
193
|
+
"BorderHorizontalOutlined",
|
|
194
|
+
"BorderInnerOutlined",
|
|
195
|
+
"BorderLeftOutlined",
|
|
196
|
+
"BorderOuterOutlined",
|
|
197
|
+
"BorderOutlined",
|
|
198
|
+
"BorderRightOutlined",
|
|
199
|
+
"BorderTopOutlined",
|
|
200
|
+
"BorderVerticleOutlined",
|
|
201
|
+
"BorderlessTableOutlined",
|
|
202
|
+
"BoxPlotFilled",
|
|
203
|
+
"BoxPlotOutlined",
|
|
204
|
+
"BoxPlotTwoTone",
|
|
205
|
+
"BranchesOutlined",
|
|
206
|
+
"BugFilled",
|
|
207
|
+
"BugOutlined",
|
|
208
|
+
"BugTwoTone",
|
|
209
|
+
"BuildFilled",
|
|
210
|
+
"BuildOutlined",
|
|
211
|
+
"BuildTwoTone",
|
|
212
|
+
"BulbFilled",
|
|
213
|
+
"BulbOutlined",
|
|
214
|
+
"BulbTwoTone",
|
|
215
|
+
"CalculatorFilled",
|
|
216
|
+
"CalculatorOutlined",
|
|
217
|
+
"CalculatorTwoTone",
|
|
218
|
+
"CalendarFilled",
|
|
219
|
+
"CalendarOutlined",
|
|
220
|
+
"CalendarTwoTone",
|
|
221
|
+
"CameraFilled",
|
|
222
|
+
"CameraOutlined",
|
|
223
|
+
"CameraTwoTone",
|
|
224
|
+
"CarFilled",
|
|
225
|
+
"CarOutlined",
|
|
226
|
+
"CarTwoTone",
|
|
227
|
+
"CaretDownFilled",
|
|
228
|
+
"CaretDownOutlined",
|
|
229
|
+
"CaretLeftFilled",
|
|
230
|
+
"CaretLeftOutlined",
|
|
231
|
+
"CaretRightFilled",
|
|
232
|
+
"CaretRightOutlined",
|
|
233
|
+
"CaretUpFilled",
|
|
234
|
+
"CaretUpOutlined",
|
|
235
|
+
"CarryOutFilled",
|
|
236
|
+
"CarryOutOutlined",
|
|
237
|
+
"CarryOutTwoTone",
|
|
238
|
+
"CheckCircleFilled",
|
|
239
|
+
"CheckCircleOutlined",
|
|
240
|
+
"CheckCircleTwoTone",
|
|
241
|
+
"CheckOutlined",
|
|
242
|
+
"CheckSquareFilled",
|
|
243
|
+
"CheckSquareOutlined",
|
|
244
|
+
"CheckSquareTwoTone",
|
|
245
|
+
"ChromeFilled",
|
|
246
|
+
"ChromeOutlined",
|
|
247
|
+
"CiCircleFilled",
|
|
248
|
+
"CiCircleOutlined",
|
|
249
|
+
"CiCircleTwoTone",
|
|
250
|
+
"CiOutlined",
|
|
251
|
+
"CiTwoTone",
|
|
252
|
+
"ClearOutlined",
|
|
253
|
+
"ClockCircleFilled",
|
|
254
|
+
"ClockCircleOutlined",
|
|
255
|
+
"ClockCircleTwoTone",
|
|
256
|
+
"CloseCircleFilled",
|
|
257
|
+
"CloseCircleOutlined",
|
|
258
|
+
"CloseCircleTwoTone",
|
|
259
|
+
"CloseOutlined",
|
|
260
|
+
"CloseSquareFilled",
|
|
261
|
+
"CloseSquareOutlined",
|
|
262
|
+
"CloseSquareTwoTone",
|
|
263
|
+
"CloudDownloadOutlined",
|
|
264
|
+
"CloudFilled",
|
|
265
|
+
"CloudOutlined",
|
|
266
|
+
"CloudServerOutlined",
|
|
267
|
+
"CloudSyncOutlined",
|
|
268
|
+
"CloudTwoTone",
|
|
269
|
+
"CloudUploadOutlined",
|
|
270
|
+
"ClusterOutlined",
|
|
271
|
+
"CodeFilled",
|
|
272
|
+
"CodeOutlined",
|
|
273
|
+
"CodeSandboxCircleFilled",
|
|
274
|
+
"CodeSandboxOutlined",
|
|
275
|
+
"CodeSandboxSquareFilled",
|
|
276
|
+
"CodeTwoTone",
|
|
277
|
+
"CodepenCircleFilled",
|
|
278
|
+
"CodepenCircleOutlined",
|
|
279
|
+
"CodepenOutlined",
|
|
280
|
+
"CodepenSquareFilled",
|
|
281
|
+
"CoffeeOutlined",
|
|
282
|
+
"ColumnHeightOutlined",
|
|
283
|
+
"ColumnWidthOutlined",
|
|
284
|
+
"CommentOutlined",
|
|
285
|
+
"CompassFilled",
|
|
286
|
+
"CompassOutlined",
|
|
287
|
+
"CompassTwoTone",
|
|
288
|
+
"CompressOutlined",
|
|
289
|
+
"ConsoleSqlOutlined",
|
|
290
|
+
"ContactsFilled",
|
|
291
|
+
"ContactsOutlined",
|
|
292
|
+
"ContactsTwoTone",
|
|
293
|
+
"ContainerFilled",
|
|
294
|
+
"ContainerOutlined",
|
|
295
|
+
"ContainerTwoTone",
|
|
296
|
+
"ControlFilled",
|
|
297
|
+
"ControlOutlined",
|
|
298
|
+
"ControlTwoTone",
|
|
299
|
+
"CopyFilled",
|
|
300
|
+
"CopyOutlined",
|
|
301
|
+
"CopyTwoTone",
|
|
302
|
+
"CopyrightCircleFilled",
|
|
303
|
+
"CopyrightCircleOutlined",
|
|
304
|
+
"CopyrightCircleTwoTone",
|
|
305
|
+
"CopyrightOutlined",
|
|
306
|
+
"CopyrightTwoTone",
|
|
307
|
+
"CreditCardFilled",
|
|
308
|
+
"CreditCardOutlined",
|
|
309
|
+
"CreditCardTwoTone",
|
|
310
|
+
"CrownFilled",
|
|
311
|
+
"CrownOutlined",
|
|
312
|
+
"CrownTwoTone",
|
|
313
|
+
"CustomerServiceFilled",
|
|
314
|
+
"CustomerServiceOutlined",
|
|
315
|
+
"CustomerServiceTwoTone",
|
|
316
|
+
"DashOutlined",
|
|
317
|
+
"DashboardFilled",
|
|
318
|
+
"DashboardOutlined",
|
|
319
|
+
"DashboardTwoTone",
|
|
320
|
+
"DatabaseFilled",
|
|
321
|
+
"DatabaseOutlined",
|
|
322
|
+
"DatabaseTwoTone",
|
|
323
|
+
"DeleteColumnOutlined",
|
|
324
|
+
"DeleteFilled",
|
|
325
|
+
"DeleteOutlined",
|
|
326
|
+
"DeleteRowOutlined",
|
|
327
|
+
"DeleteTwoTone",
|
|
328
|
+
"DeliveredProcedureOutlined",
|
|
329
|
+
"DeploymentUnitOutlined",
|
|
330
|
+
"DesktopOutlined",
|
|
331
|
+
"DiffFilled",
|
|
332
|
+
"DiffOutlined",
|
|
333
|
+
"DiffTwoTone",
|
|
334
|
+
"DingdingOutlined",
|
|
335
|
+
"DingtalkCircleFilled",
|
|
336
|
+
"DingtalkOutlined",
|
|
337
|
+
"DingtalkSquareFilled",
|
|
338
|
+
"DisconnectOutlined",
|
|
339
|
+
"DiscordFilled",
|
|
340
|
+
"DiscordOutlined",
|
|
341
|
+
"DislikeFilled",
|
|
342
|
+
"DislikeOutlined",
|
|
343
|
+
"DislikeTwoTone",
|
|
344
|
+
"DockerOutlined",
|
|
345
|
+
"DollarCircleFilled",
|
|
346
|
+
"DollarCircleOutlined",
|
|
347
|
+
"DollarCircleTwoTone",
|
|
348
|
+
"DollarOutlined",
|
|
349
|
+
"DollarTwoTone",
|
|
350
|
+
"DotChartOutlined",
|
|
351
|
+
"DotNetOutlined",
|
|
352
|
+
"DoubleLeftOutlined",
|
|
353
|
+
"DoubleRightOutlined",
|
|
354
|
+
"DownCircleFilled",
|
|
355
|
+
"DownCircleOutlined",
|
|
356
|
+
"DownCircleTwoTone",
|
|
357
|
+
"DownOutlined",
|
|
358
|
+
"DownSquareFilled",
|
|
359
|
+
"DownSquareOutlined",
|
|
360
|
+
"DownSquareTwoTone",
|
|
361
|
+
"DownloadOutlined",
|
|
362
|
+
"DragOutlined",
|
|
363
|
+
"DribbbleCircleFilled",
|
|
364
|
+
"DribbbleOutlined",
|
|
365
|
+
"DribbbleSquareFilled",
|
|
366
|
+
"DribbbleSquareOutlined",
|
|
367
|
+
"DropboxCircleFilled",
|
|
368
|
+
"DropboxOutlined",
|
|
369
|
+
"DropboxSquareFilled",
|
|
370
|
+
"EditFilled",
|
|
371
|
+
"EditOutlined",
|
|
372
|
+
"EditTwoTone",
|
|
373
|
+
"EllipsisOutlined",
|
|
374
|
+
"EnterOutlined",
|
|
375
|
+
"EnvironmentFilled",
|
|
376
|
+
"EnvironmentOutlined",
|
|
377
|
+
"EnvironmentTwoTone",
|
|
378
|
+
"EuroCircleFilled",
|
|
379
|
+
"EuroCircleOutlined",
|
|
380
|
+
"EuroCircleTwoTone",
|
|
381
|
+
"EuroOutlined",
|
|
382
|
+
"EuroTwoTone",
|
|
383
|
+
"ExceptionOutlined",
|
|
384
|
+
"ExclamationCircleFilled",
|
|
385
|
+
"ExclamationCircleOutlined",
|
|
386
|
+
"ExclamationCircleTwoTone",
|
|
387
|
+
"ExclamationOutlined",
|
|
388
|
+
"ExpandAltOutlined",
|
|
389
|
+
"ExpandOutlined",
|
|
390
|
+
"ExperimentFilled",
|
|
391
|
+
"ExperimentOutlined",
|
|
392
|
+
"ExperimentTwoTone",
|
|
393
|
+
"ExportOutlined",
|
|
394
|
+
"EyeFilled",
|
|
395
|
+
"EyeInvisibleFilled",
|
|
396
|
+
"EyeInvisibleOutlined",
|
|
397
|
+
"EyeInvisibleTwoTone",
|
|
398
|
+
"EyeOutlined",
|
|
399
|
+
"EyeTwoTone",
|
|
400
|
+
"FacebookFilled",
|
|
401
|
+
"FacebookOutlined",
|
|
402
|
+
"FallOutlined",
|
|
403
|
+
"FastBackwardFilled",
|
|
404
|
+
"FastBackwardOutlined",
|
|
405
|
+
"FastForwardFilled",
|
|
406
|
+
"FastForwardOutlined",
|
|
407
|
+
"FieldBinaryOutlined",
|
|
408
|
+
"FieldNumberOutlined",
|
|
409
|
+
"FieldStringOutlined",
|
|
410
|
+
"FieldTimeOutlined",
|
|
411
|
+
"FileAddFilled",
|
|
412
|
+
"FileAddOutlined",
|
|
413
|
+
"FileAddTwoTone",
|
|
414
|
+
"FileDoneOutlined",
|
|
415
|
+
"FileExcelFilled",
|
|
416
|
+
"FileExcelOutlined",
|
|
417
|
+
"FileExcelTwoTone",
|
|
418
|
+
"FileExclamationFilled",
|
|
419
|
+
"FileExclamationOutlined",
|
|
420
|
+
"FileExclamationTwoTone",
|
|
421
|
+
"FileFilled",
|
|
422
|
+
"FileGifOutlined",
|
|
423
|
+
"FileImageFilled",
|
|
424
|
+
"FileImageOutlined",
|
|
425
|
+
"FileImageTwoTone",
|
|
426
|
+
"FileJpgOutlined",
|
|
427
|
+
"FileMarkdownFilled",
|
|
428
|
+
"FileMarkdownOutlined",
|
|
429
|
+
"FileMarkdownTwoTone",
|
|
430
|
+
"FileOutlined",
|
|
431
|
+
"FilePdfFilled",
|
|
432
|
+
"FilePdfOutlined",
|
|
433
|
+
"FilePdfTwoTone",
|
|
434
|
+
"FilePptFilled",
|
|
435
|
+
"FilePptOutlined",
|
|
436
|
+
"FilePptTwoTone",
|
|
437
|
+
"FileProtectOutlined",
|
|
438
|
+
"FileSearchOutlined",
|
|
439
|
+
"FileSyncOutlined",
|
|
440
|
+
"FileTextFilled",
|
|
441
|
+
"FileTextOutlined",
|
|
442
|
+
"FileTextTwoTone",
|
|
443
|
+
"FileTwoTone",
|
|
444
|
+
"FileUnknownFilled",
|
|
445
|
+
"FileUnknownOutlined",
|
|
446
|
+
"FileUnknownTwoTone",
|
|
447
|
+
"FileWordFilled",
|
|
448
|
+
"FileWordOutlined",
|
|
449
|
+
"FileWordTwoTone",
|
|
450
|
+
"FileZipFilled",
|
|
451
|
+
"FileZipOutlined",
|
|
452
|
+
"FileZipTwoTone",
|
|
453
|
+
"FilterFilled",
|
|
454
|
+
"FilterOutlined",
|
|
455
|
+
"FilterTwoTone",
|
|
456
|
+
"FireFilled",
|
|
457
|
+
"FireOutlined",
|
|
458
|
+
"FireTwoTone",
|
|
459
|
+
"FlagFilled",
|
|
460
|
+
"FlagOutlined",
|
|
461
|
+
"FlagTwoTone",
|
|
462
|
+
"FolderAddFilled",
|
|
463
|
+
"FolderAddOutlined",
|
|
464
|
+
"FolderAddTwoTone",
|
|
465
|
+
"FolderFilled",
|
|
466
|
+
"FolderOpenFilled",
|
|
467
|
+
"FolderOpenOutlined",
|
|
468
|
+
"FolderOpenTwoTone",
|
|
469
|
+
"FolderOutlined",
|
|
470
|
+
"FolderTwoTone",
|
|
471
|
+
"FolderViewOutlined",
|
|
472
|
+
"FontColorsOutlined",
|
|
473
|
+
"FontSizeOutlined",
|
|
474
|
+
"ForkOutlined",
|
|
475
|
+
"FormOutlined",
|
|
476
|
+
"FormatPainterFilled",
|
|
477
|
+
"FormatPainterOutlined",
|
|
478
|
+
"ForwardFilled",
|
|
479
|
+
"ForwardOutlined",
|
|
480
|
+
"FrownFilled",
|
|
481
|
+
"FrownOutlined",
|
|
482
|
+
"FrownTwoTone",
|
|
483
|
+
"FullscreenExitOutlined",
|
|
484
|
+
"FullscreenOutlined",
|
|
485
|
+
"FunctionOutlined",
|
|
486
|
+
"FundFilled",
|
|
487
|
+
"FundOutlined",
|
|
488
|
+
"FundProjectionScreenOutlined",
|
|
489
|
+
"FundTwoTone",
|
|
490
|
+
"FundViewOutlined",
|
|
491
|
+
"FunnelPlotFilled",
|
|
492
|
+
"FunnelPlotOutlined",
|
|
493
|
+
"FunnelPlotTwoTone",
|
|
494
|
+
"GatewayOutlined",
|
|
495
|
+
"GifOutlined",
|
|
496
|
+
"GiftFilled",
|
|
497
|
+
"GiftOutlined",
|
|
498
|
+
"GiftTwoTone",
|
|
499
|
+
"GithubFilled",
|
|
500
|
+
"GithubOutlined",
|
|
501
|
+
"GitlabFilled",
|
|
502
|
+
"GitlabOutlined",
|
|
503
|
+
"GlobalOutlined",
|
|
504
|
+
"GoldFilled",
|
|
505
|
+
"GoldOutlined",
|
|
506
|
+
"GoldTwoTone",
|
|
507
|
+
"GoldenFilled",
|
|
508
|
+
"GoogleCircleFilled",
|
|
509
|
+
"GoogleOutlined",
|
|
510
|
+
"GooglePlusCircleFilled",
|
|
511
|
+
"GooglePlusOutlined",
|
|
512
|
+
"GooglePlusSquareFilled",
|
|
513
|
+
"GoogleSquareFilled",
|
|
514
|
+
"GroupOutlined",
|
|
515
|
+
"HarmonyOSOutlined",
|
|
516
|
+
"HddFilled",
|
|
517
|
+
"HddOutlined",
|
|
518
|
+
"HddTwoTone",
|
|
519
|
+
"HeartFilled",
|
|
520
|
+
"HeartOutlined",
|
|
521
|
+
"HeartTwoTone",
|
|
522
|
+
"HeatMapOutlined",
|
|
523
|
+
"HighlightFilled",
|
|
524
|
+
"HighlightOutlined",
|
|
525
|
+
"HighlightTwoTone",
|
|
526
|
+
"HistoryOutlined",
|
|
527
|
+
"HolderOutlined",
|
|
528
|
+
"HomeFilled",
|
|
529
|
+
"HomeOutlined",
|
|
530
|
+
"HomeTwoTone",
|
|
531
|
+
"HourglassFilled",
|
|
532
|
+
"HourglassOutlined",
|
|
533
|
+
"HourglassTwoTone",
|
|
534
|
+
"Html5Filled",
|
|
535
|
+
"Html5Outlined",
|
|
536
|
+
"Html5TwoTone",
|
|
537
|
+
"IdcardFilled",
|
|
538
|
+
"IdcardOutlined",
|
|
539
|
+
"IdcardTwoTone",
|
|
540
|
+
"IeCircleFilled",
|
|
541
|
+
"IeOutlined",
|
|
542
|
+
"IeSquareFilled",
|
|
543
|
+
"ImportOutlined",
|
|
544
|
+
"InboxOutlined",
|
|
545
|
+
"InfoCircleFilled",
|
|
546
|
+
"InfoCircleOutlined",
|
|
547
|
+
"InfoCircleTwoTone",
|
|
548
|
+
"InfoOutlined",
|
|
549
|
+
"InsertRowAboveOutlined",
|
|
550
|
+
"InsertRowBelowOutlined",
|
|
551
|
+
"InsertRowLeftOutlined",
|
|
552
|
+
"InsertRowRightOutlined",
|
|
553
|
+
"InstagramFilled",
|
|
554
|
+
"InstagramOutlined",
|
|
555
|
+
"InsuranceFilled",
|
|
556
|
+
"InsuranceOutlined",
|
|
557
|
+
"InsuranceTwoTone",
|
|
558
|
+
"InteractionFilled",
|
|
559
|
+
"InteractionOutlined",
|
|
560
|
+
"InteractionTwoTone",
|
|
561
|
+
"IssuesCloseOutlined",
|
|
562
|
+
"ItalicOutlined",
|
|
563
|
+
"JavaOutlined",
|
|
564
|
+
"JavaScriptOutlined",
|
|
565
|
+
"KeyOutlined",
|
|
566
|
+
"KubernetesOutlined",
|
|
567
|
+
"LaptopOutlined",
|
|
568
|
+
"LayoutFilled",
|
|
569
|
+
"LayoutOutlined",
|
|
570
|
+
"LayoutTwoTone",
|
|
571
|
+
"LeftCircleFilled",
|
|
572
|
+
"LeftCircleOutlined",
|
|
573
|
+
"LeftCircleTwoTone",
|
|
574
|
+
"LeftOutlined",
|
|
575
|
+
"LeftSquareFilled",
|
|
576
|
+
"LeftSquareOutlined",
|
|
577
|
+
"LeftSquareTwoTone",
|
|
578
|
+
"LikeFilled",
|
|
579
|
+
"LikeOutlined",
|
|
580
|
+
"LikeTwoTone",
|
|
581
|
+
"LineChartOutlined",
|
|
582
|
+
"LineHeightOutlined",
|
|
583
|
+
"LineOutlined",
|
|
584
|
+
"LinkOutlined",
|
|
585
|
+
"LinkedinFilled",
|
|
586
|
+
"LinkedinOutlined",
|
|
587
|
+
"LinuxOutlined",
|
|
588
|
+
"Loading3QuartersOutlined",
|
|
589
|
+
"LoadingOutlined",
|
|
590
|
+
"LockFilled",
|
|
591
|
+
"LockOutlined",
|
|
592
|
+
"LockTwoTone",
|
|
593
|
+
"LoginOutlined",
|
|
594
|
+
"LogoutOutlined",
|
|
595
|
+
"MacCommandFilled",
|
|
596
|
+
"MacCommandOutlined",
|
|
597
|
+
"MailFilled",
|
|
598
|
+
"MailOutlined",
|
|
599
|
+
"MailTwoTone",
|
|
600
|
+
"ManOutlined",
|
|
601
|
+
"MedicineBoxFilled",
|
|
602
|
+
"MedicineBoxOutlined",
|
|
603
|
+
"MedicineBoxTwoTone",
|
|
604
|
+
"MediumCircleFilled",
|
|
605
|
+
"MediumOutlined",
|
|
606
|
+
"MediumSquareFilled",
|
|
607
|
+
"MediumWorkmarkOutlined",
|
|
608
|
+
"MehFilled",
|
|
609
|
+
"MehOutlined",
|
|
610
|
+
"MehTwoTone",
|
|
611
|
+
"MenuFoldOutlined",
|
|
612
|
+
"MenuOutlined",
|
|
613
|
+
"MenuUnfoldOutlined",
|
|
614
|
+
"MergeCellsOutlined",
|
|
615
|
+
"MergeFilled",
|
|
616
|
+
"MergeOutlined",
|
|
617
|
+
"MessageFilled",
|
|
618
|
+
"MessageOutlined",
|
|
619
|
+
"MessageTwoTone",
|
|
620
|
+
"MinusCircleFilled",
|
|
621
|
+
"MinusCircleOutlined",
|
|
622
|
+
"MinusCircleTwoTone",
|
|
623
|
+
"MinusOutlined",
|
|
624
|
+
"MinusSquareFilled",
|
|
625
|
+
"MinusSquareOutlined",
|
|
626
|
+
"MinusSquareTwoTone",
|
|
627
|
+
"MobileFilled",
|
|
628
|
+
"MobileOutlined",
|
|
629
|
+
"MobileTwoTone",
|
|
630
|
+
"MoneyCollectFilled",
|
|
631
|
+
"MoneyCollectOutlined",
|
|
632
|
+
"MoneyCollectTwoTone",
|
|
633
|
+
"MonitorOutlined",
|
|
634
|
+
"MoonFilled",
|
|
635
|
+
"MoonOutlined",
|
|
636
|
+
"MoreOutlined",
|
|
637
|
+
"MutedFilled",
|
|
638
|
+
"MutedOutlined",
|
|
639
|
+
"NodeCollapseOutlined",
|
|
640
|
+
"NodeExpandOutlined",
|
|
641
|
+
"NodeIndexOutlined",
|
|
642
|
+
"NotificationFilled",
|
|
643
|
+
"NotificationOutlined",
|
|
644
|
+
"NotificationTwoTone",
|
|
645
|
+
"NumberOutlined",
|
|
646
|
+
"OneToOneOutlined",
|
|
647
|
+
"OpenAIFilled",
|
|
648
|
+
"OpenAIOutlined",
|
|
649
|
+
"OrderedListOutlined",
|
|
650
|
+
"PaperClipOutlined",
|
|
651
|
+
"PartitionOutlined",
|
|
652
|
+
"PauseCircleFilled",
|
|
653
|
+
"PauseCircleOutlined",
|
|
654
|
+
"PauseCircleTwoTone",
|
|
655
|
+
"PauseOutlined",
|
|
656
|
+
"PayCircleFilled",
|
|
657
|
+
"PayCircleOutlined",
|
|
658
|
+
"PercentageOutlined",
|
|
659
|
+
"PhoneFilled",
|
|
660
|
+
"PhoneOutlined",
|
|
661
|
+
"PhoneTwoTone",
|
|
662
|
+
"PicCenterOutlined",
|
|
663
|
+
"PicLeftOutlined",
|
|
664
|
+
"PicRightOutlined",
|
|
665
|
+
"PictureFilled",
|
|
666
|
+
"PictureOutlined",
|
|
667
|
+
"PictureTwoTone",
|
|
668
|
+
"PieChartFilled",
|
|
669
|
+
"PieChartOutlined",
|
|
670
|
+
"PieChartTwoTone",
|
|
671
|
+
"PinterestFilled",
|
|
672
|
+
"PinterestOutlined",
|
|
673
|
+
"PlayCircleFilled",
|
|
674
|
+
"PlayCircleOutlined",
|
|
675
|
+
"PlayCircleTwoTone",
|
|
676
|
+
"PlaySquareFilled",
|
|
677
|
+
"PlaySquareOutlined",
|
|
678
|
+
"PlaySquareTwoTone",
|
|
679
|
+
"PlusCircleFilled",
|
|
680
|
+
"PlusCircleOutlined",
|
|
681
|
+
"PlusCircleTwoTone",
|
|
682
|
+
"PlusOutlined",
|
|
683
|
+
"PlusSquareFilled",
|
|
684
|
+
"PlusSquareOutlined",
|
|
685
|
+
"PlusSquareTwoTone",
|
|
686
|
+
"PoundCircleFilled",
|
|
687
|
+
"PoundCircleOutlined",
|
|
688
|
+
"PoundCircleTwoTone",
|
|
689
|
+
"PoundOutlined",
|
|
690
|
+
"PoweroffOutlined",
|
|
691
|
+
"PrinterFilled",
|
|
692
|
+
"PrinterOutlined",
|
|
693
|
+
"PrinterTwoTone",
|
|
694
|
+
"ProductFilled",
|
|
695
|
+
"ProductOutlined",
|
|
696
|
+
"ProfileFilled",
|
|
697
|
+
"ProfileOutlined",
|
|
698
|
+
"ProfileTwoTone",
|
|
699
|
+
"ProjectFilled",
|
|
700
|
+
"ProjectOutlined",
|
|
701
|
+
"ProjectTwoTone",
|
|
702
|
+
"PropertySafetyFilled",
|
|
703
|
+
"PropertySafetyOutlined",
|
|
704
|
+
"PropertySafetyTwoTone",
|
|
705
|
+
"PullRequestOutlined",
|
|
706
|
+
"PushpinFilled",
|
|
707
|
+
"PushpinOutlined",
|
|
708
|
+
"PushpinTwoTone",
|
|
709
|
+
"PythonOutlined",
|
|
710
|
+
"QqCircleFilled",
|
|
711
|
+
"QqOutlined",
|
|
712
|
+
"QqSquareFilled",
|
|
713
|
+
"QrcodeOutlined",
|
|
714
|
+
"QuestionCircleFilled",
|
|
715
|
+
"QuestionCircleOutlined",
|
|
716
|
+
"QuestionCircleTwoTone",
|
|
717
|
+
"QuestionOutlined",
|
|
718
|
+
"RadarChartOutlined",
|
|
719
|
+
"RadiusBottomleftOutlined",
|
|
720
|
+
"RadiusBottomrightOutlined",
|
|
721
|
+
"RadiusSettingOutlined",
|
|
722
|
+
"RadiusUpleftOutlined",
|
|
723
|
+
"RadiusUprightOutlined",
|
|
724
|
+
"ReadFilled",
|
|
725
|
+
"ReadOutlined",
|
|
726
|
+
"ReconciliationFilled",
|
|
727
|
+
"ReconciliationOutlined",
|
|
728
|
+
"ReconciliationTwoTone",
|
|
729
|
+
"RedEnvelopeFilled",
|
|
730
|
+
"RedEnvelopeOutlined",
|
|
731
|
+
"RedEnvelopeTwoTone",
|
|
732
|
+
"RedditCircleFilled",
|
|
733
|
+
"RedditOutlined",
|
|
734
|
+
"RedditSquareFilled",
|
|
735
|
+
"RedoOutlined",
|
|
736
|
+
"ReloadOutlined",
|
|
737
|
+
"RestFilled",
|
|
738
|
+
"RestOutlined",
|
|
739
|
+
"RestTwoTone",
|
|
740
|
+
"RetweetOutlined",
|
|
741
|
+
"RightCircleFilled",
|
|
742
|
+
"RightCircleOutlined",
|
|
743
|
+
"RightCircleTwoTone",
|
|
744
|
+
"RightOutlined",
|
|
745
|
+
"RightSquareFilled",
|
|
746
|
+
"RightSquareOutlined",
|
|
747
|
+
"RightSquareTwoTone",
|
|
748
|
+
"RiseOutlined",
|
|
749
|
+
"RobotFilled",
|
|
750
|
+
"RobotOutlined",
|
|
751
|
+
"RocketFilled",
|
|
752
|
+
"RocketOutlined",
|
|
753
|
+
"RocketTwoTone",
|
|
754
|
+
"RollbackOutlined",
|
|
755
|
+
"RotateLeftOutlined",
|
|
756
|
+
"RotateRightOutlined",
|
|
757
|
+
"RubyOutlined",
|
|
758
|
+
"SafetyCertificateFilled",
|
|
759
|
+
"SafetyCertificateOutlined",
|
|
760
|
+
"SafetyCertificateTwoTone",
|
|
761
|
+
"SafetyOutlined",
|
|
762
|
+
"SaveFilled",
|
|
763
|
+
"SaveOutlined",
|
|
764
|
+
"SaveTwoTone",
|
|
765
|
+
"ScanOutlined",
|
|
766
|
+
"ScheduleFilled",
|
|
767
|
+
"ScheduleOutlined",
|
|
768
|
+
"ScheduleTwoTone",
|
|
769
|
+
"ScissorOutlined",
|
|
770
|
+
"SearchOutlined",
|
|
771
|
+
"SecurityScanFilled",
|
|
772
|
+
"SecurityScanOutlined",
|
|
773
|
+
"SecurityScanTwoTone",
|
|
774
|
+
"SelectOutlined",
|
|
775
|
+
"SendOutlined",
|
|
776
|
+
"SettingFilled",
|
|
777
|
+
"SettingOutlined",
|
|
778
|
+
"SettingTwoTone",
|
|
779
|
+
"ShakeOutlined",
|
|
780
|
+
"ShareAltOutlined",
|
|
781
|
+
"ShopFilled",
|
|
782
|
+
"ShopOutlined",
|
|
783
|
+
"ShopTwoTone",
|
|
784
|
+
"ShoppingCartOutlined",
|
|
785
|
+
"ShoppingFilled",
|
|
786
|
+
"ShoppingOutlined",
|
|
787
|
+
"ShoppingTwoTone",
|
|
788
|
+
"ShrinkOutlined",
|
|
789
|
+
"SignalFilled",
|
|
790
|
+
"SignatureFilled",
|
|
791
|
+
"SignatureOutlined",
|
|
792
|
+
"SisternodeOutlined",
|
|
793
|
+
"SketchCircleFilled",
|
|
794
|
+
"SketchOutlined",
|
|
795
|
+
"SketchSquareFilled",
|
|
796
|
+
"SkinFilled",
|
|
797
|
+
"SkinOutlined",
|
|
798
|
+
"SkinTwoTone",
|
|
799
|
+
"SkypeFilled",
|
|
800
|
+
"SkypeOutlined",
|
|
801
|
+
"SlackCircleFilled",
|
|
802
|
+
"SlackOutlined",
|
|
803
|
+
"SlackSquareFilled",
|
|
804
|
+
"SlackSquareOutlined",
|
|
805
|
+
"SlidersFilled",
|
|
806
|
+
"SlidersOutlined",
|
|
807
|
+
"SlidersTwoTone",
|
|
808
|
+
"SmallDashOutlined",
|
|
809
|
+
"SmileFilled",
|
|
810
|
+
"SmileOutlined",
|
|
811
|
+
"SmileTwoTone",
|
|
812
|
+
"SnippetsFilled",
|
|
813
|
+
"SnippetsOutlined",
|
|
814
|
+
"SnippetsTwoTone",
|
|
815
|
+
"SolutionOutlined",
|
|
816
|
+
"SortAscendingOutlined",
|
|
817
|
+
"SortDescendingOutlined",
|
|
818
|
+
"SoundFilled",
|
|
819
|
+
"SoundOutlined",
|
|
820
|
+
"SoundTwoTone",
|
|
821
|
+
"SplitCellsOutlined",
|
|
822
|
+
"SpotifyFilled",
|
|
823
|
+
"SpotifyOutlined",
|
|
824
|
+
"StarFilled",
|
|
825
|
+
"StarOutlined",
|
|
826
|
+
"StarTwoTone",
|
|
827
|
+
"StepBackwardFilled",
|
|
828
|
+
"StepBackwardOutlined",
|
|
829
|
+
"StepForwardFilled",
|
|
830
|
+
"StepForwardOutlined",
|
|
831
|
+
"StockOutlined",
|
|
832
|
+
"StopFilled",
|
|
833
|
+
"StopOutlined",
|
|
834
|
+
"StopTwoTone",
|
|
835
|
+
"StrikethroughOutlined",
|
|
836
|
+
"SubnodeOutlined",
|
|
837
|
+
"SunFilled",
|
|
838
|
+
"SunOutlined",
|
|
839
|
+
"SwapLeftOutlined",
|
|
840
|
+
"SwapOutlined",
|
|
841
|
+
"SwapRightOutlined",
|
|
842
|
+
"SwitcherFilled",
|
|
843
|
+
"SwitcherOutlined",
|
|
844
|
+
"SwitcherTwoTone",
|
|
845
|
+
"SyncOutlined",
|
|
846
|
+
"TableOutlined",
|
|
847
|
+
"TabletFilled",
|
|
848
|
+
"TabletOutlined",
|
|
849
|
+
"TabletTwoTone",
|
|
850
|
+
"TagFilled",
|
|
851
|
+
"TagOutlined",
|
|
852
|
+
"TagTwoTone",
|
|
853
|
+
"TagsFilled",
|
|
854
|
+
"TagsOutlined",
|
|
855
|
+
"TagsTwoTone",
|
|
856
|
+
"TaobaoCircleFilled",
|
|
857
|
+
"TaobaoCircleOutlined",
|
|
858
|
+
"TaobaoOutlined",
|
|
859
|
+
"TaobaoSquareFilled",
|
|
860
|
+
"TeamOutlined",
|
|
861
|
+
"ThunderboltFilled",
|
|
862
|
+
"ThunderboltOutlined",
|
|
863
|
+
"ThunderboltTwoTone",
|
|
864
|
+
"TikTokFilled",
|
|
865
|
+
"TikTokOutlined",
|
|
866
|
+
"ToTopOutlined",
|
|
867
|
+
"ToolFilled",
|
|
868
|
+
"ToolOutlined",
|
|
869
|
+
"ToolTwoTone",
|
|
870
|
+
"TrademarkCircleFilled",
|
|
871
|
+
"TrademarkCircleOutlined",
|
|
872
|
+
"TrademarkCircleTwoTone",
|
|
873
|
+
"TrademarkOutlined",
|
|
874
|
+
"TransactionOutlined",
|
|
875
|
+
"TranslationOutlined",
|
|
876
|
+
"TrophyFilled",
|
|
877
|
+
"TrophyOutlined",
|
|
878
|
+
"TrophyTwoTone",
|
|
879
|
+
"TruckFilled",
|
|
880
|
+
"TruckOutlined",
|
|
881
|
+
"TwitchFilled",
|
|
882
|
+
"TwitchOutlined",
|
|
883
|
+
"TwitterCircleFilled",
|
|
884
|
+
"TwitterOutlined",
|
|
885
|
+
"TwitterSquareFilled",
|
|
886
|
+
"UnderlineOutlined",
|
|
887
|
+
"UndoOutlined",
|
|
888
|
+
"UngroupOutlined",
|
|
889
|
+
"UnlockFilled",
|
|
890
|
+
"UnlockOutlined",
|
|
891
|
+
"UnlockTwoTone",
|
|
892
|
+
"UnorderedListOutlined",
|
|
893
|
+
"UpCircleFilled",
|
|
894
|
+
"UpCircleOutlined",
|
|
895
|
+
"UpCircleTwoTone",
|
|
896
|
+
"UpOutlined",
|
|
897
|
+
"UpSquareFilled",
|
|
898
|
+
"UpSquareOutlined",
|
|
899
|
+
"UpSquareTwoTone",
|
|
900
|
+
"UploadOutlined",
|
|
901
|
+
"UsbFilled",
|
|
902
|
+
"UsbOutlined",
|
|
903
|
+
"UsbTwoTone",
|
|
904
|
+
"UserAddOutlined",
|
|
905
|
+
"UserDeleteOutlined",
|
|
906
|
+
"UserOutlined",
|
|
907
|
+
"UserSwitchOutlined",
|
|
908
|
+
"UsergroupAddOutlined",
|
|
909
|
+
"UsergroupDeleteOutlined",
|
|
910
|
+
"VerifiedOutlined",
|
|
911
|
+
"VerticalAlignBottomOutlined",
|
|
912
|
+
"VerticalAlignMiddleOutlined",
|
|
913
|
+
"VerticalAlignTopOutlined",
|
|
914
|
+
"VerticalLeftOutlined",
|
|
915
|
+
"VerticalRightOutlined",
|
|
916
|
+
"VideoCameraAddOutlined",
|
|
917
|
+
"VideoCameraFilled",
|
|
918
|
+
"VideoCameraOutlined",
|
|
919
|
+
"VideoCameraTwoTone",
|
|
920
|
+
"WalletFilled",
|
|
921
|
+
"WalletOutlined",
|
|
922
|
+
"WalletTwoTone",
|
|
923
|
+
"WarningFilled",
|
|
924
|
+
"WarningOutlined",
|
|
925
|
+
"WarningTwoTone",
|
|
926
|
+
"WechatFilled",
|
|
927
|
+
"WechatOutlined",
|
|
928
|
+
"WechatWorkFilled",
|
|
929
|
+
"WechatWorkOutlined",
|
|
930
|
+
"WeiboCircleFilled",
|
|
931
|
+
"WeiboCircleOutlined",
|
|
932
|
+
"WeiboOutlined",
|
|
933
|
+
"WeiboSquareFilled",
|
|
934
|
+
"WeiboSquareOutlined",
|
|
935
|
+
"WhatsAppOutlined",
|
|
936
|
+
"WifiOutlined",
|
|
937
|
+
"WindowsFilled",
|
|
938
|
+
"WindowsOutlined",
|
|
939
|
+
"WomanOutlined",
|
|
940
|
+
"XFilled",
|
|
941
|
+
"XOutlined",
|
|
942
|
+
"YahooFilled",
|
|
943
|
+
"YahooOutlined",
|
|
944
|
+
"YoutubeFilled",
|
|
945
|
+
"YoutubeOutlined",
|
|
946
|
+
"YuqueFilled",
|
|
947
|
+
"YuqueOutlined",
|
|
948
|
+
"ZhihuCircleFilled",
|
|
949
|
+
"ZhihuOutlined",
|
|
950
|
+
"ZhihuSquareFilled",
|
|
951
|
+
"ZoomInOutlined",
|
|
952
|
+
"ZoomOutOutlined"
|
|
953
|
+
];
|
|
954
|
+
|
|
955
|
+
//#endregion
|
|
956
|
+
//#region src/index.ts
|
|
957
|
+
function isExclude(name, exclude) {
|
|
958
|
+
if (!exclude) return false;
|
|
959
|
+
if (typeof exclude === "string") return name === exclude;
|
|
960
|
+
if (exclude instanceof RegExp) return !!name.match(exclude);
|
|
961
|
+
if (Array.isArray(exclude)) {
|
|
962
|
+
for (const item of exclude) if (name === item || name.match(item)) return true;
|
|
963
|
+
}
|
|
964
|
+
return false;
|
|
965
|
+
}
|
|
966
|
+
/**
|
|
967
|
+
* Resolver for [Antdv Next](https://antdv-next.com)
|
|
968
|
+
*/
|
|
969
|
+
function AntdvNextResolver(options) {
|
|
970
|
+
return {
|
|
971
|
+
type: "component",
|
|
972
|
+
resolve: (name) => {
|
|
973
|
+
const opts = Object.assign({}, options);
|
|
974
|
+
if (isExclude(name, opts.exclude)) return;
|
|
975
|
+
if (opts.resolveIcons && icons_default.includes(name)) return {
|
|
976
|
+
name,
|
|
977
|
+
from: "@antdv-next/icons"
|
|
978
|
+
};
|
|
979
|
+
const importName = components_default[name];
|
|
980
|
+
if (importName) {
|
|
981
|
+
if (isExclude(importName, opts.exclude)) return;
|
|
982
|
+
return {
|
|
983
|
+
name: importName,
|
|
984
|
+
from: "antdv-next"
|
|
985
|
+
};
|
|
986
|
+
}
|
|
987
|
+
}
|
|
988
|
+
};
|
|
989
|
+
}
|
|
990
|
+
|
|
991
|
+
//#endregion
|
|
992
|
+
export { AntdvNextResolver };
|
package/package.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@antdv-next/auto-import-resolver",
|
|
3
|
+
"type": "module",
|
|
4
|
+
"version": "1.0.0-beta.1",
|
|
5
|
+
"description": "antdv-next auto import resolver based on unplugin-vue-components",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://github.com/antdv-next/antdv-next.git"
|
|
9
|
+
},
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"types": "./dist/index.d.mts",
|
|
13
|
+
"import": "./dist/index.mjs",
|
|
14
|
+
"default": "./dist/index.mjs"
|
|
15
|
+
},
|
|
16
|
+
"./package.json": "./package.json"
|
|
17
|
+
},
|
|
18
|
+
"files": [
|
|
19
|
+
"dist"
|
|
20
|
+
],
|
|
21
|
+
"engines": {
|
|
22
|
+
"node": ">=20.19.0"
|
|
23
|
+
},
|
|
24
|
+
"peerDependencies": {
|
|
25
|
+
"unplugin-vue-components": ">=28.0.0"
|
|
26
|
+
},
|
|
27
|
+
"scripts": {
|
|
28
|
+
"build": "tsdown",
|
|
29
|
+
"prebuild": "esno ./scripts/generate.ts && eslint src --fix",
|
|
30
|
+
"test": "vitest run",
|
|
31
|
+
"prepublish": "pnpm build",
|
|
32
|
+
"bump": "bumpp --commit \"chore(release): @antdv-next/auto-import-resolver %s\" --push --tag \"@antdv-next/auto-import-resolver@%s\""
|
|
33
|
+
}
|
|
34
|
+
}
|