@fle-ui/plus-choose-site-goods 1.0.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 +1 -0
- package/README.md +19 -0
- package/es/components/icon/index.d.ts +3 -0
- package/es/components/icon/index.js +7 -0
- package/es/index.d.ts +19 -0
- package/es/index.js +1262 -0
- package/es/index.less +110 -0
- package/es/utils/api.d.ts +9 -0
- package/es/utils/api.js +8 -0
- package/es/utils/common.d.ts +24 -0
- package/es/utils/common.js +26 -0
- package/es/utils/options.d.ts +25 -0
- package/es/utils/options.js +95 -0
- package/es/utils/request.d.ts +26 -0
- package/es/utils/request.js +177 -0
- package/es/utils/serviceEnv.d.ts +8 -0
- package/es/utils/serviceEnv.js +12 -0
- package/lib/components/icon/index.d.ts +3 -0
- package/lib/components/icon/index.js +14 -0
- package/lib/index.d.ts +19 -0
- package/lib/index.js +1243 -0
- package/lib/index.less +110 -0
- package/lib/utils/api.d.ts +9 -0
- package/lib/utils/api.js +15 -0
- package/lib/utils/common.d.ts +24 -0
- package/lib/utils/common.js +36 -0
- package/lib/utils/options.d.ts +25 -0
- package/lib/utils/options.js +108 -0
- package/lib/utils/request.d.ts +26 -0
- package/lib/utils/request.js +183 -0
- package/lib/utils/serviceEnv.d.ts +8 -0
- package/lib/utils/serviceEnv.js +21 -0
- package/package.json +47 -0
package/LICENSE
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
MIT
|
package/README.md
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# @fle-ui/plus-choose-site-goods
|
|
2
|
+
|
|
3
|
+
> @fle-ui/plus-choose-site-goods
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
Using npm:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
$ npm install --save @fle-ui/plus-choose-site-goods
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
or using yarn:
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
$ yarn add @fle-ui/plus-choose-site-goods
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { createFromIconfontCN } from '@ant-design/icons';
|
|
2
|
+
/* 采用iconfont Symbol模式
|
|
3
|
+
每次更新icon后,记得复制最新的地址哦~ */
|
|
4
|
+
var Icon = createFromIconfontCN({
|
|
5
|
+
scriptUrl: ['//at.alicdn.com/t/c/font_3161758_5bzjjx85uxv.js', '//at.alicdn.com/t/font_2562875_b3aduyabrj.js']
|
|
6
|
+
});
|
|
7
|
+
export default Icon;
|
package/es/index.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import type { ModalProps } from 'antd';
|
|
3
|
+
import './index.less';
|
|
4
|
+
export interface ChooseSiteGoodsProps extends ModalProps {
|
|
5
|
+
env?: string;
|
|
6
|
+
token?: string;
|
|
7
|
+
loginErrFn?: any;
|
|
8
|
+
onClose?: any;
|
|
9
|
+
siteId: string | number;
|
|
10
|
+
app: number;
|
|
11
|
+
multiple?: boolean;
|
|
12
|
+
defaultSelectedGoodsIds?: any[];
|
|
13
|
+
onSelectOk?: any;
|
|
14
|
+
showMore?: boolean;
|
|
15
|
+
showMoreText?: string;
|
|
16
|
+
tabsConfig?: any;
|
|
17
|
+
}
|
|
18
|
+
declare const ChooseSiteGoods: FC<ChooseSiteGoodsProps>;
|
|
19
|
+
export default ChooseSiteGoods;
|