ez-react-antd 0.1.0
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 +187 -0
- package/dist/AdminLayout/AdminLayout.d.ts +18 -0
- package/dist/AdminLayout/AdminLayout.d.ts.map +1 -0
- package/dist/AdminLayout/HeaderMenu/HeaderMenu.d.ts +17 -0
- package/dist/AdminLayout/HeaderMenu/HeaderMenu.d.ts.map +1 -0
- package/dist/AdminLayout/HeaderMenu/index.d.ts +4 -0
- package/dist/AdminLayout/HeaderMenu/index.d.ts.map +1 -0
- package/dist/AdminLayout/SiderMenu/SiderMenu.d.ts +39 -0
- package/dist/AdminLayout/SiderMenu/SiderMenu.d.ts.map +1 -0
- package/dist/AdminLayout/SiderMenu/index.d.ts +4 -0
- package/dist/AdminLayout/SiderMenu/index.d.ts.map +1 -0
- package/dist/AdminLayout/constants.d.ts +23 -0
- package/dist/AdminLayout/constants.d.ts.map +1 -0
- package/dist/AdminLayout/index.d.ts +6 -0
- package/dist/AdminLayout/index.d.ts.map +1 -0
- package/dist/ConfigProvider/index.d.ts +18 -0
- package/dist/ConfigProvider/index.d.ts.map +1 -0
- package/dist/Drawer/Drawer.d.ts +19 -0
- package/dist/Drawer/Drawer.d.ts.map +1 -0
- package/dist/Drawer/index.d.ts +3 -0
- package/dist/Drawer/index.d.ts.map +1 -0
- package/dist/ErrorNotification/ErrorNotification.d.ts +6 -0
- package/dist/ErrorNotification/ErrorNotification.d.ts.map +1 -0
- package/dist/ErrorNotification/index.d.ts +2 -0
- package/dist/ErrorNotification/index.d.ts.map +1 -0
- package/dist/ErrorPage/ErrorPage.d.ts +3 -0
- package/dist/ErrorPage/ErrorPage.d.ts.map +1 -0
- package/dist/ErrorPage/index.d.ts +3 -0
- package/dist/ErrorPage/index.d.ts.map +1 -0
- package/dist/Grid/Grid.d.ts +24 -0
- package/dist/Grid/Grid.d.ts.map +1 -0
- package/dist/Grid/index.d.ts +5 -0
- package/dist/Grid/index.d.ts.map +1 -0
- package/dist/Grid/useResponsive.d.ts +36 -0
- package/dist/Grid/useResponsive.d.ts.map +1 -0
- package/dist/IconSelect/IconSelect.d.ts +35 -0
- package/dist/IconSelect/IconSelect.d.ts.map +1 -0
- package/dist/IconSelect/IconShow/IconShow.d.ts +8 -0
- package/dist/IconSelect/IconShow/IconShow.d.ts.map +1 -0
- package/dist/IconSelect/IconShow/index.d.ts +3 -0
- package/dist/IconSelect/IconShow/index.d.ts.map +1 -0
- package/dist/IconSelect/index.d.ts +3 -0
- package/dist/IconSelect/index.d.ts.map +1 -0
- package/dist/ImageUpload/ImageUpload.d.ts +55 -0
- package/dist/ImageUpload/ImageUpload.d.ts.map +1 -0
- package/dist/ImageUpload/index.d.ts +3 -0
- package/dist/ImageUpload/index.d.ts.map +1 -0
- package/dist/Link/Link.d.ts +10 -0
- package/dist/Link/Link.d.ts.map +1 -0
- package/dist/Link/index.d.ts +3 -0
- package/dist/Link/index.d.ts.map +1 -0
- package/dist/Loading/Loading.d.ts +14 -0
- package/dist/Loading/Loading.d.ts.map +1 -0
- package/dist/Loading/index.d.ts +3 -0
- package/dist/Loading/index.d.ts.map +1 -0
- package/dist/NoFoundPage/NoFoundPage.d.ts +3 -0
- package/dist/NoFoundPage/NoFoundPage.d.ts.map +1 -0
- package/dist/NoFoundPage/index.d.ts +3 -0
- package/dist/NoFoundPage/index.d.ts.map +1 -0
- package/dist/NotAuthorizedPage/NotAuthorizedPage.d.ts +3 -0
- package/dist/NotAuthorizedPage/NotAuthorizedPage.d.ts.map +1 -0
- package/dist/NotAuthorizedPage/index.d.ts +3 -0
- package/dist/NotAuthorizedPage/index.d.ts.map +1 -0
- package/dist/Redirect/Redirect.d.ts +3 -0
- package/dist/Redirect/Redirect.d.ts.map +1 -0
- package/dist/Redirect/index.d.ts +3 -0
- package/dist/Redirect/index.d.ts.map +1 -0
- package/dist/RemoteCascader/RemoteCascader.d.ts +64 -0
- package/dist/RemoteCascader/RemoteCascader.d.ts.map +1 -0
- package/dist/RemoteCascader/index.d.ts +3 -0
- package/dist/RemoteCascader/index.d.ts.map +1 -0
- package/dist/RemoteModalSelect/RemoteModalSelect.d.ts +63 -0
- package/dist/RemoteModalSelect/RemoteModalSelect.d.ts.map +1 -0
- package/dist/RemoteModalSelect/index.d.ts +3 -0
- package/dist/RemoteModalSelect/index.d.ts.map +1 -0
- package/dist/RemoteSelect/RemoteSelect.d.ts +77 -0
- package/dist/RemoteSelect/RemoteSelect.d.ts.map +1 -0
- package/dist/RemoteSelect/index.d.ts +3 -0
- package/dist/RemoteSelect/index.d.ts.map +1 -0
- package/dist/RemoteTable/RemoteTable.d.ts +108 -0
- package/dist/RemoteTable/RemoteTable.d.ts.map +1 -0
- package/dist/RemoteTable/index.d.ts +3 -0
- package/dist/RemoteTable/index.d.ts.map +1 -0
- package/dist/RemoteTableSelect/RemoteTableSelect.d.ts +59 -0
- package/dist/RemoteTableSelect/RemoteTableSelect.d.ts.map +1 -0
- package/dist/RemoteTableSelect/index.d.ts +3 -0
- package/dist/RemoteTableSelect/index.d.ts.map +1 -0
- package/dist/RemoteTree/RemoteTree.d.ts +103 -0
- package/dist/RemoteTree/RemoteTree.d.ts.map +1 -0
- package/dist/RemoteTree/index.d.ts +3 -0
- package/dist/RemoteTree/index.d.ts.map +1 -0
- package/dist/SearchBar/SearchBar.d.ts +164 -0
- package/dist/SearchBar/SearchBar.d.ts.map +1 -0
- package/dist/SearchBar/index.d.ts +3 -0
- package/dist/SearchBar/index.d.ts.map +1 -0
- package/dist/ez-react-antd.es.js +10721 -0
- package/dist/ez-react-antd.umd.js +73 -0
- package/dist/hoc/withRoute.d.ts +3 -0
- package/dist/hoc/withRoute.d.ts.map +1 -0
- package/dist/index.css +1 -0
- package/dist/index.d.ts +38 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/types/index.d.ts +18 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/utils/compare.d.ts +4 -0
- package/dist/utils/compare.d.ts.map +1 -0
- package/dist/utils/date.d.ts +6 -0
- package/dist/utils/date.d.ts.map +1 -0
- package/dist/utils/mergeObj.d.ts +10 -0
- package/dist/utils/mergeObj.d.ts.map +1 -0
- package/dist/utils/uuid.d.ts +11 -0
- package/dist/utils/uuid.d.ts.map +1 -0
- package/package.json +84 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2023 davinyue
|
|
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,187 @@
|
|
|
1
|
+
# Ez-Antd
|
|
2
|
+
|
|
3
|
+
基于 Ant Design 的 React 组件库,提供开箱即用的业务组件。
|
|
4
|
+
|
|
5
|
+
## 特性
|
|
6
|
+
|
|
7
|
+
- 🎨 基于 Ant Design 5.x 构建
|
|
8
|
+
- 📦 开箱即用的业务组件
|
|
9
|
+
- 🔥 支持 TypeScript
|
|
10
|
+
- 🎯 零依赖打包(所有依赖由宿主项目提供)
|
|
11
|
+
- 🌈 自动 CSS 注入,无需手动引入样式
|
|
12
|
+
|
|
13
|
+
## 安装
|
|
14
|
+
|
|
15
|
+
### 1. 安装 ez-antd
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
npm install ez-antd
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
### 2. 安装必需的 Peer Dependencies
|
|
22
|
+
|
|
23
|
+
Ez-antd 需要以下依赖,请确保您的项目中已安装:
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
npm install react react-dom antd react-redux react-router
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
### 3. 安装组件特定依赖
|
|
30
|
+
|
|
31
|
+
根据您使用的组件,可能需要安装额外的依赖:
|
|
32
|
+
|
|
33
|
+
#### IconSelect 组件
|
|
34
|
+
```bash
|
|
35
|
+
npm install @fortawesome/fontawesome-svg-core \
|
|
36
|
+
@fortawesome/free-regular-svg-icons \
|
|
37
|
+
@fortawesome/free-solid-svg-icons \
|
|
38
|
+
@fortawesome/react-fontawesome \
|
|
39
|
+
react-select \
|
|
40
|
+
react-window
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
#### ImageUpload 组件
|
|
44
|
+
```bash
|
|
45
|
+
npm install antd-img-crop
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## 快速开始
|
|
49
|
+
|
|
50
|
+
### 1. 配置全局 Provider
|
|
51
|
+
|
|
52
|
+
在应用入口文件中配置 `ConfigProvider`:
|
|
53
|
+
|
|
54
|
+
```tsx
|
|
55
|
+
import { ConfigProvider } from 'ez-antd';
|
|
56
|
+
import axios from 'axios';
|
|
57
|
+
|
|
58
|
+
function App() {
|
|
59
|
+
return (
|
|
60
|
+
<ConfigProvider
|
|
61
|
+
request={axios}
|
|
62
|
+
upload={(url, data) => axios.post(url, data)}
|
|
63
|
+
getData={(response) => response.data}
|
|
64
|
+
isSuccess={(response) => response.status === 200}
|
|
65
|
+
>
|
|
66
|
+
<YourApp />
|
|
67
|
+
</ConfigProvider>
|
|
68
|
+
);
|
|
69
|
+
}
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
### 2. 使用组件
|
|
73
|
+
|
|
74
|
+
```tsx
|
|
75
|
+
import { RemoteTable, AdminLayout } from 'ez-antd';
|
|
76
|
+
|
|
77
|
+
// RemoteTable 示例
|
|
78
|
+
function UserList() {
|
|
79
|
+
return (
|
|
80
|
+
<RemoteTable
|
|
81
|
+
url="/api/users"
|
|
82
|
+
columns={[
|
|
83
|
+
{ title: '姓名', dataIndex: 'name' },
|
|
84
|
+
{ title: '邮箱', dataIndex: 'email' }
|
|
85
|
+
]}
|
|
86
|
+
/>
|
|
87
|
+
);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
// AdminLayout 示例
|
|
91
|
+
function Layout() {
|
|
92
|
+
return (
|
|
93
|
+
<AdminLayout
|
|
94
|
+
appName="我的系统"
|
|
95
|
+
menus={[
|
|
96
|
+
{ name: '首页', path: '/', icon: 'HomeOutlined' }
|
|
97
|
+
]}
|
|
98
|
+
userInfo={{ name: '用户名' }}
|
|
99
|
+
onLogout={() => console.log('退出登录')}
|
|
100
|
+
>
|
|
101
|
+
<YourContent />
|
|
102
|
+
</AdminLayout>
|
|
103
|
+
);
|
|
104
|
+
}
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
## 组件列表
|
|
108
|
+
|
|
109
|
+
### 数据展示
|
|
110
|
+
- **RemoteTable** - 远程数据表格,支持分页、搜索、排序
|
|
111
|
+
- **RemoteTree** - 远程数据树形控件
|
|
112
|
+
- **IconSelect** - 图标选择器(需要 FontAwesome 依赖)
|
|
113
|
+
|
|
114
|
+
### 数据录入
|
|
115
|
+
- **RemoteSelect** - 远程数据下拉选择
|
|
116
|
+
- **RemoteCascader** - 远程数据级联选择
|
|
117
|
+
- **RemoteTableSelect** - 表格形式的数据选择器
|
|
118
|
+
- **RemoteModalSelect** - 弹窗形式的数据选择器
|
|
119
|
+
- **ImageUpload** - 图片上传组件(需要 antd-img-crop)
|
|
120
|
+
- **SearchBar** - 搜索栏组件
|
|
121
|
+
|
|
122
|
+
### 布局
|
|
123
|
+
- **AdminLayout** - 后台管理布局
|
|
124
|
+
- **ErrorPage** - 错误页面
|
|
125
|
+
- **NoFoundPage** - 404 页面
|
|
126
|
+
- **NotAuthorizedPage** - 未授权页面
|
|
127
|
+
|
|
128
|
+
## 完整依赖列表
|
|
129
|
+
|
|
130
|
+
### 必需依赖(所有组件)
|
|
131
|
+
```json
|
|
132
|
+
{
|
|
133
|
+
"react": "^18.0.0",
|
|
134
|
+
"react-dom": "^18.0.0",
|
|
135
|
+
"antd": "^5.29.3",
|
|
136
|
+
"react-redux": "^9.2.0",
|
|
137
|
+
"react-router": "^7.11.0"
|
|
138
|
+
}
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
### 可选依赖(按需安装)
|
|
142
|
+
```json
|
|
143
|
+
{
|
|
144
|
+
"@fortawesome/fontawesome-svg-core": "^7.1.0",
|
|
145
|
+
"@fortawesome/free-regular-svg-icons": "^7.1.0",
|
|
146
|
+
"@fortawesome/free-solid-svg-icons": "^7.1.0",
|
|
147
|
+
"@fortawesome/react-fontawesome": "^3.1.1",
|
|
148
|
+
"antd-img-crop": "^4.27.0",
|
|
149
|
+
"react-select": "^5.10.2",
|
|
150
|
+
"react-window": "^2.2.3"
|
|
151
|
+
}
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
## 开发
|
|
155
|
+
|
|
156
|
+
```bash
|
|
157
|
+
# 安装依赖
|
|
158
|
+
npm install
|
|
159
|
+
|
|
160
|
+
# 开发模式
|
|
161
|
+
npm run dev
|
|
162
|
+
|
|
163
|
+
# 构建
|
|
164
|
+
npm run build
|
|
165
|
+
|
|
166
|
+
# 类型检查
|
|
167
|
+
npm run type-check
|
|
168
|
+
|
|
169
|
+
# 代码检查
|
|
170
|
+
npm run lint
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
## 本地开发调试
|
|
174
|
+
|
|
175
|
+
如果需要在本地项目中调试 ez-antd:
|
|
176
|
+
|
|
177
|
+
```bash
|
|
178
|
+
# 在 ez-antd 目录
|
|
179
|
+
npm run link:watch
|
|
180
|
+
|
|
181
|
+
# 在业务项目目录
|
|
182
|
+
npm link ez-antd
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
## License
|
|
186
|
+
|
|
187
|
+
MIT
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { HeaderMenuProp } from './HeaderMenu';
|
|
3
|
+
import { MenuDef } from './SiderMenu';
|
|
4
|
+
export interface AdminLayoutProp extends HeaderMenuProp {
|
|
5
|
+
/** 菜单 */
|
|
6
|
+
menus: Array<MenuDef>;
|
|
7
|
+
children?: React.ReactNode;
|
|
8
|
+
/** 系统名称 */
|
|
9
|
+
appName?: string;
|
|
10
|
+
/** 系统图标 */
|
|
11
|
+
appIcon?: string;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* 后台管理布局组件
|
|
15
|
+
*/
|
|
16
|
+
declare const AdminLayout: React.FC<AdminLayoutProp>;
|
|
17
|
+
export default AdminLayout;
|
|
18
|
+
//# sourceMappingURL=AdminLayout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AdminLayout.d.ts","sourceRoot":"","sources":["../../src/AdminLayout/AdminLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAGxC,OAAmB,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC1D,OAAkB,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAOjD,MAAM,WAAW,eAAgB,SAAQ,cAAc;IACrD,SAAS;IACT,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;IACtB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,WAAW;IACX,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW;IACX,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CA6K1C,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface HeaderMenuProp {
|
|
3
|
+
userInfo?: {
|
|
4
|
+
userName?: string;
|
|
5
|
+
avatar?: string;
|
|
6
|
+
};
|
|
7
|
+
onLogout?: () => void;
|
|
8
|
+
/** 文件下载前缀 URL, 用于拼接头像 ID */
|
|
9
|
+
fileDownloadUrl?: string;
|
|
10
|
+
onModifyPassword?: () => void;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* 头部菜单组件
|
|
14
|
+
*/
|
|
15
|
+
declare const HeaderMenu: React.FC<HeaderMenuProp>;
|
|
16
|
+
export default HeaderMenu;
|
|
17
|
+
//# sourceMappingURL=HeaderMenu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HeaderMenu.d.ts","sourceRoot":"","sources":["../../../src/AdminLayout/HeaderMenu/HeaderMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,EAAE;QAAE,QAAQ,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAClD,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,4BAA4B;IAC5B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;CAC/B;AAED;;GAEG;AACH,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAkDxC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/AdminLayout/HeaderMenu/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,cAAc,CAAC;AACtC,OAAO,cAAc,CAAC;AACtB,YAAY,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AACnD,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface MenuDef {
|
|
3
|
+
/** 菜单id */
|
|
4
|
+
id: string;
|
|
5
|
+
/** 是否展示 */
|
|
6
|
+
show?: boolean;
|
|
7
|
+
/** 路径 */
|
|
8
|
+
path: string;
|
|
9
|
+
/** 图标 */
|
|
10
|
+
icon?: React.ReactNode;
|
|
11
|
+
/** 菜单标题 */
|
|
12
|
+
title: string;
|
|
13
|
+
/** 展示权限 */
|
|
14
|
+
permission?: string | Array<string>;
|
|
15
|
+
/** 展示角色 */
|
|
16
|
+
role?: string | Array<string>;
|
|
17
|
+
/** 下级 */
|
|
18
|
+
childrens?: Array<MenuDef>;
|
|
19
|
+
/** 上级菜单id */
|
|
20
|
+
parentId?: string;
|
|
21
|
+
[key: string]: any;
|
|
22
|
+
}
|
|
23
|
+
export interface SiderMenuProp {
|
|
24
|
+
menus: Array<MenuDef>;
|
|
25
|
+
/** 主题 */
|
|
26
|
+
theme: 'light' | 'dark';
|
|
27
|
+
/** 当点击菜单时 */
|
|
28
|
+
onClickMenu?: (menu: MenuDef) => void;
|
|
29
|
+
/** 侧边是否折叠 */
|
|
30
|
+
collapsed?: boolean;
|
|
31
|
+
/** 权限校验回调 */
|
|
32
|
+
authorized?: (menu: MenuDef) => boolean;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* 侧边栏菜单组件
|
|
36
|
+
*/
|
|
37
|
+
declare const SiderMenu: React.FC<SiderMenuProp>;
|
|
38
|
+
export default SiderMenu;
|
|
39
|
+
//# sourceMappingURL=SiderMenu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SiderMenu.d.ts","sourceRoot":"","sources":["../../../src/AdminLayout/SiderMenu/SiderMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAK9D,MAAM,WAAW,OAAO;IACtB,WAAW;IACX,EAAE,EAAE,MAAM,CAAC;IACX,WAAW;IACX,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,SAAS;IACT,IAAI,EAAE,MAAM,CAAC;IACb,SAAS;IACT,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,WAAW;IACX,KAAK,EAAE,MAAM,CAAC;IACd,WAAW;IACX,UAAU,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;IACpC,WAAW;IACX,IAAI,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;IAC9B,SAAS;IACT,SAAS,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;IAC3B,aAAa;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;IACtB,SAAS;IACT,KAAK,EAAE,OAAO,GAAG,MAAM,CAAC;IACxB,aAAa;IACb,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,aAAa;IACb,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,aAAa;IACb,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,OAAO,CAAC;CACzC;AAED;;GAEG;AACH,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAuItC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/AdminLayout/SiderMenu/index.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,aAAa,CAAC;AACpC,OAAO,cAAc,CAAC;AACtB,YAAY,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAC1D,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AdminLayout 配置常量
|
|
3
|
+
*/
|
|
4
|
+
/** 布局配置 */
|
|
5
|
+
export declare const LAYOUT_CONFIG: {
|
|
6
|
+
/** PC端收起宽度 */
|
|
7
|
+
readonly COLLAPSED_WIDTH_PC: 80;
|
|
8
|
+
/** 移动端收起宽度 */
|
|
9
|
+
readonly COLLAPSED_WIDTH_MOBILE: 0;
|
|
10
|
+
/** 侧边栏展开宽度 */
|
|
11
|
+
readonly SIDER_WIDTH: 256;
|
|
12
|
+
/** 头部高度 */
|
|
13
|
+
readonly HEADER_HEIGHT: 64;
|
|
14
|
+
/** 响应式断点 */
|
|
15
|
+
readonly BREAKPOINT: 1300;
|
|
16
|
+
};
|
|
17
|
+
/** 主题配置 */
|
|
18
|
+
export declare const THEME: {
|
|
19
|
+
readonly LIGHT: "light";
|
|
20
|
+
readonly DARK: "dark";
|
|
21
|
+
};
|
|
22
|
+
export type ThemeType = typeof THEME[keyof typeof THEME];
|
|
23
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/AdminLayout/constants.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,WAAW;AACX,eAAO,MAAM,aAAa;IACtB,cAAc;;IAEd,cAAc;;IAEd,cAAc;;IAEd,WAAW;;IAEX,YAAY;;CAEN,CAAC;AAEX,WAAW;AACX,eAAO,MAAM,KAAK;;;CAGR,CAAC;AAEX,MAAM,MAAM,SAAS,GAAG,OAAO,KAAK,CAAC,MAAM,OAAO,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/AdminLayout/index.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtC,OAAO,cAAc,CAAC;AAEtB,eAAe,WAAW,CAAC;AAC3B,YAAY,EAAE,OAAO,EAAE,CAAC;AACxB,YAAY,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface EzAntdConfig {
|
|
3
|
+
/** 全局请求方法 */
|
|
4
|
+
request?: (url: string, params?: any) => Promise<any>;
|
|
5
|
+
/** 判断请求是否成功 */
|
|
6
|
+
isSuccess?: (response: any) => boolean;
|
|
7
|
+
/** 从响应中获取数据列表 */
|
|
8
|
+
getData?: (response: any) => any[];
|
|
9
|
+
/** 上传文件方法 */
|
|
10
|
+
upload?: (url: string, formData: FormData) => Promise<any>;
|
|
11
|
+
}
|
|
12
|
+
export declare const ConfigContext: React.Context<EzAntdConfig>;
|
|
13
|
+
export declare const useConfig: () => EzAntdConfig;
|
|
14
|
+
export declare const ConfigProvider: React.FC<{
|
|
15
|
+
children: React.ReactNode;
|
|
16
|
+
value: EzAntdConfig;
|
|
17
|
+
}>;
|
|
18
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ConfigProvider/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoC,MAAM,OAAO,CAAC;AAEzD,MAAM,WAAW,YAAY;IACzB,aAAa;IACb,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,GAAG,KAAK,OAAO,CAAC,GAAG,CAAC,CAAC;IACtD,eAAe;IACf,SAAS,CAAC,EAAE,CAAC,QAAQ,EAAE,GAAG,KAAK,OAAO,CAAC;IACvC,iBAAiB;IACjB,OAAO,CAAC,EAAE,CAAC,QAAQ,EAAE,GAAG,KAAK,GAAG,EAAE,CAAC;IACnC,aAAa;IACb,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,KAAK,OAAO,CAAC,GAAG,CAAC,CAAC;CAC9D;AAiBD,eAAO,MAAM,aAAa,6BAA6C,CAAC;AAExE,eAAO,MAAM,SAAS,oBAAkC,CAAC;AAEzD,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC;IAClC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,EAAE,YAAY,CAAC;CACvB,CAMA,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { DrawerProps } from 'antd';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
export interface DrawerClassProps extends DrawerProps {
|
|
4
|
+
/** 关闭按钮名称 */
|
|
5
|
+
closeTxt?: string;
|
|
6
|
+
/** 标题 */
|
|
7
|
+
title?: React.ReactNode;
|
|
8
|
+
/** 子元素 */
|
|
9
|
+
children?: React.ReactNode;
|
|
10
|
+
onClose?: (e: React.MouseEvent | React.KeyboardEvent) => void;
|
|
11
|
+
}
|
|
12
|
+
declare class DrawerClass extends React.Component<DrawerClassProps> {
|
|
13
|
+
static defaultProps: {
|
|
14
|
+
closeTxt: string;
|
|
15
|
+
};
|
|
16
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
}
|
|
18
|
+
export default DrawerClass;
|
|
19
|
+
//# sourceMappingURL=Drawer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Drawer.d.ts","sourceRoot":"","sources":["../../src/Drawer/Drawer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAU,KAAK,WAAW,EAAU,MAAM,MAAM,CAAC;AAExD,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,cAAc,CAAC;AAEtB,MAAM,WAAW,gBAAiB,SAAQ,WAAW;IACjD,aAAa;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS;IACT,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,UAAU;IACV,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,GAAG,KAAK,CAAC,aAAa,KAAK,IAAI,CAAC;CACjE;AAED,cAAM,WAAY,SAAQ,KAAK,CAAC,SAAS,CAAC,gBAAgB,CAAC;IACvD,MAAM,CAAC,YAAY;;MAEjB;IAEF,MAAM;CAmBT;AAED,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Drawer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AACnC,YAAY,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ErrorNotification.d.ts","sourceRoot":"","sources":["../../src/ErrorNotification/ErrorNotification.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,qBAAa,iBAAkB,SAAQ,KAAK,CAAC,SAAS,CAAC,GAAG,CAAC;IACvD,MAAM;CAUT;AAED,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ErrorNotification/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ErrorPage.d.ts","sourceRoot":"","sources":["../../src/ErrorPage/ErrorPage.tsx"],"names":[],"mappings":";AAeA,wBAAoC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ErrorPage/index.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,aAAa,CAAC;AACpC,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export type WidthType = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
|
|
3
|
+
export interface GridProp {
|
|
4
|
+
/**
|
|
5
|
+
* 当窗口变化时
|
|
6
|
+
* @param {string} type - 尺寸类型
|
|
7
|
+
* @param {number} width - 宽度
|
|
8
|
+
*/
|
|
9
|
+
onChange?: (type: WidthType, width: number) => void;
|
|
10
|
+
children?: React.ReactNode;
|
|
11
|
+
/** 什么类型下显示children */
|
|
12
|
+
responsive?: WidthType | Array<WidthType>;
|
|
13
|
+
/** 样式 */
|
|
14
|
+
style?: React.CSSProperties;
|
|
15
|
+
/** 防抖延迟(毫秒),默认 150ms */
|
|
16
|
+
debounceDelay?: number;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Grid 响应式组件
|
|
20
|
+
* 用于监听窗口大小变化并根据断点显示/隐藏内容
|
|
21
|
+
*/
|
|
22
|
+
declare const Grid: React.FC<GridProp>;
|
|
23
|
+
export default Grid;
|
|
24
|
+
//# sourceMappingURL=Grid.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Grid.d.ts","sourceRoot":"","sources":["../../src/Grid/Grid.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAE3D,MAAM,MAAM,SAAS,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,CAAC;AAEjE,MAAM,WAAW,QAAQ;IACrB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACpD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,sBAAsB;IACtB,UAAU,CAAC,EAAE,SAAS,GAAG,KAAK,CAAC,SAAS,CAAC,CAAC;IAC1C,SAAS;IACT,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,wBAAwB;IACxB,aAAa,CAAC,EAAE,MAAM,CAAC;CAC1B;AA+BD;;;GAGG;AACH,QAAA,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,QAAQ,CAiF5B,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Grid/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAClD,YAAY,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { WidthType } from './Grid';
|
|
2
|
+
export interface UseResponsiveResult {
|
|
3
|
+
/** 当前窗口宽度类型 */
|
|
4
|
+
type: WidthType;
|
|
5
|
+
/** 当前窗口宽度 */
|
|
6
|
+
width: number;
|
|
7
|
+
/** 是否是移动端 (xs 或 sm) */
|
|
8
|
+
isMobile: boolean;
|
|
9
|
+
/** 是否是平板 (md) */
|
|
10
|
+
isTablet: boolean;
|
|
11
|
+
/** 是否是桌面端 (lg, xl, xxl) */
|
|
12
|
+
isDesktop: boolean;
|
|
13
|
+
/** 各个断点的匹配状态 */
|
|
14
|
+
breakpoints: Record<WidthType, boolean>;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* 响应式 Hook
|
|
18
|
+
* 用于监听窗口大小变化
|
|
19
|
+
*
|
|
20
|
+
* @param debounceDelay - 防抖延迟(毫秒),默认 150ms
|
|
21
|
+
* @returns 响应式状态信息
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* ```tsx
|
|
25
|
+
* const { type, isMobile, breakpoints } = useResponsive();
|
|
26
|
+
*
|
|
27
|
+
* if (isMobile) {
|
|
28
|
+
* return <MobileView />;
|
|
29
|
+
* }
|
|
30
|
+
*
|
|
31
|
+
* return <DesktopView />;
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
export declare function useResponsive(debounceDelay?: number): UseResponsiveResult;
|
|
35
|
+
export default useResponsive;
|
|
36
|
+
//# sourceMappingURL=useResponsive.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useResponsive.d.ts","sourceRoot":"","sources":["../../src/Grid/useResponsive.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AA+BnC,MAAM,WAAW,mBAAmB;IAChC,eAAe;IACf,IAAI,EAAE,SAAS,CAAC;IAChB,aAAa;IACb,KAAK,EAAE,MAAM,CAAC;IACd,uBAAuB;IACvB,QAAQ,EAAE,OAAO,CAAC;IAClB,iBAAiB;IACjB,QAAQ,EAAE,OAAO,CAAC;IAClB,2BAA2B;IAC3B,SAAS,EAAE,OAAO,CAAC;IACnB,gBAAgB;IAChB,WAAW,EAAE,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;CAC3C;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,aAAa,CAAC,aAAa,SAAM,GAAG,mBAAmB,CA8CtE;AAED,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { IconDefinition } from '@fortawesome/fontawesome-common-types';
|
|
3
|
+
import { GroupBase, OptionsOrGroups } from 'react-select';
|
|
4
|
+
/** 选择项 */
|
|
5
|
+
interface Option {
|
|
6
|
+
/** 图标编码 */
|
|
7
|
+
value: string;
|
|
8
|
+
/** 图标来源 */
|
|
9
|
+
source: string;
|
|
10
|
+
/** 来源对应的编码 */
|
|
11
|
+
sourceKey: string;
|
|
12
|
+
}
|
|
13
|
+
export interface IconSelectProps {
|
|
14
|
+
value?: string;
|
|
15
|
+
onChange?: (value: string | undefined) => void;
|
|
16
|
+
}
|
|
17
|
+
export interface IconSelectState {
|
|
18
|
+
/** 输入框宽度 */
|
|
19
|
+
selectWidth: number;
|
|
20
|
+
inputValue?: string;
|
|
21
|
+
}
|
|
22
|
+
declare class IconSelect extends React.Component<IconSelectProps, IconSelectState> {
|
|
23
|
+
selectRef: React.RefObject<any>;
|
|
24
|
+
selectOptions?: OptionsOrGroups<Option, GroupBase<Option>>;
|
|
25
|
+
optionMap?: Map<string, Option>;
|
|
26
|
+
constructor(props: IconSelectProps);
|
|
27
|
+
buildIconSelectOptions(): void;
|
|
28
|
+
isIconDefinition(value: any): value is IconDefinition;
|
|
29
|
+
updateWidth(): void;
|
|
30
|
+
componentDidMount(): void;
|
|
31
|
+
componentWillUnmount(): void;
|
|
32
|
+
render(): React.ReactNode;
|
|
33
|
+
}
|
|
34
|
+
export default IconSelect;
|
|
35
|
+
//# sourceMappingURL=IconSelect.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconSelect.d.ts","sourceRoot":"","sources":["../../src/IconSelect/IconSelect.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAC5E,OAAe,EAAE,SAAS,EAAiB,eAAe,EAAc,MAAM,cAAc,CAAC;AAM7F,UAAU;AACV,UAAU,MAAM;IACZ,WAAW;IACX,KAAK,EAAE,MAAM,CAAC;IACd,WAAW;IACX,MAAM,EAAE,MAAM,CAAC;IACf,cAAc;IACd,SAAS,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,eAAe;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,KAAK,IAAI,CAAC;CAClD;AAED,MAAM,WAAW,eAAe;IAC5B,YAAY;IACZ,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAA;CACtB;AAkFD,cAAM,UAAW,SAAQ,KAAK,CAAC,SAAS,CAAC,eAAe,EAAE,eAAe,CAAC;IACtE,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC;IAChC,aAAa,CAAC,EAAE,eAAe,CAAC,MAAM,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC;IAC3D,SAAS,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;gBACpB,KAAK,EAAE,eAAe;IAWlC,sBAAsB;IA0CtB,gBAAgB,CAAC,KAAK,EAAE,GAAG,GAAG,KAAK,IAAI,cAAc;IASrD,WAAW;IAOX,iBAAiB,IAAI,IAAI;IAKzB,oBAAoB,IAAI,IAAI;IAI5B,MAAM,IAAI,KAAK,CAAC,SAAS;CA6C5B;AAED,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
export interface IconShowProps {
|
|
3
|
+
iconValue?: string;
|
|
4
|
+
style?: CSSProperties;
|
|
5
|
+
}
|
|
6
|
+
declare function IconShow(props: IconShowProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default IconShow;
|
|
8
|
+
//# sourceMappingURL=IconShow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconShow.d.ts","sourceRoot":"","sources":["../../../src/IconSelect/IconShow/IconShow.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAM7C,MAAM,WAAW,aAAa;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAA;CACxB;AAiBD,iBAAS,QAAQ,CAAC,KAAK,EAAE,aAAa,2CA8BrC;AAED,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/IconSelect/IconShow/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/IconSelect/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC"}
|