@yilianjituan/yilian_dgerm 0.0.1-alpha.47 → 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/.eslintrc.js +0 -0
- package/LICENSE +0 -0
- package/README.md +19 -87
- package/dist/business/Entry/index.d.ts +0 -0
- package/dist/business/Entry/index.interface.d.ts +0 -0
- package/dist/business/Entry/index.interface.js +0 -0
- package/dist/business/Entry/index.js +0 -0
- package/dist/business/Entry/index.scss +0 -0
- package/dist/business/TestBtn/index.d.ts +0 -0
- package/dist/business/TestBtn/index.interface.d.ts +0 -0
- package/dist/business/TestBtn/index.interface.js +0 -0
- package/dist/business/TestBtn/index.js +0 -0
- package/dist/commonAxios/Axios.d.ts +0 -0
- package/dist/commonAxios/Axios.js +0 -0
- package/dist/commonAxios/http.d.ts +0 -0
- package/dist/commonAxios/http.js +0 -0
- package/dist/commonAxios/index.d.ts +0 -0
- package/dist/commonAxios/index.js +0 -0
- package/dist/commonAxios/juicer.d.ts +0 -0
- package/dist/commonAxios/juicer.js +0 -0
- package/dist/commonData/address.d.ts +0 -0
- package/dist/commonData/address.js +0 -0
- package/dist/commonImg/ic_im_no_archives_new.png +0 -0
- package/dist/commonType/globalEnum.d.ts +0 -0
- package/dist/commonType/globalEnum.js +0 -0
- package/dist/commonType/globalFun.d.ts +0 -0
- package/dist/commonType/globalFun.js +0 -0
- package/dist/components/BigImage/index.d.ts +0 -0
- package/dist/components/BigImage/index.interface.d.ts +0 -0
- package/dist/components/BigImage/index.interface.js +0 -0
- package/dist/components/BigImage/index.js +0 -0
- package/dist/components/CustomButtonModal/index.d.ts +0 -0
- package/dist/components/CustomButtonModal/index.interface.d.ts +0 -0
- package/dist/components/CustomButtonModal/index.interface.js +0 -0
- package/dist/components/CustomButtonModal/index.js +0 -0
- package/dist/components/DateTimePicker/index.d.ts +0 -0
- package/dist/components/DateTimePicker/index.interface.d.ts +0 -0
- package/dist/components/DateTimePicker/index.interface.js +0 -0
- package/dist/components/DateTimePicker/index.js +0 -0
- package/dist/components/DropDownSelect/index.d.ts +0 -0
- package/dist/components/DropDownSelect/index.interface.d.ts +0 -0
- package/dist/components/DropDownSelect/index.interface.js +0 -0
- package/dist/components/DropDownSelect/index.js +0 -0
- package/dist/components/EmptyDom/index.d.ts +0 -0
- package/dist/components/EmptyDom/index.interface.d.ts +0 -0
- package/dist/components/EmptyDom/index.interface.js +0 -0
- package/dist/components/EmptyDom/index.js +0 -0
- package/dist/components/Entry/index.d.ts +0 -0
- package/dist/components/Entry/index.interface.d.ts +0 -0
- package/dist/components/Entry/index.interface.js +0 -0
- package/dist/components/Entry/index.js +0 -0
- package/dist/components/Entry/index.scss +0 -0
- package/dist/components/ExportExcels/ExportExcels.scss +0 -0
- package/dist/components/ExportExcels/index.d.ts +0 -0
- package/dist/components/ExportExcels/index.interface.d.ts +0 -0
- package/dist/components/ExportExcels/index.interface.js +0 -0
- package/dist/components/ExportExcels/index.js +0 -0
- package/dist/components/FileUpload/fileUtil.d.ts +0 -0
- package/dist/components/FileUpload/fileUtil.js +0 -0
- package/dist/components/FileUpload/index.d.ts +0 -0
- package/dist/components/FileUpload/index.interface.d.ts +0 -0
- package/dist/components/FileUpload/index.interface.js +0 -0
- package/dist/components/FileUpload/index.js +0 -0
- package/dist/components/FileUpload/index.scss +0 -0
- package/dist/components/FilterRadio/index.d.ts +0 -0
- package/dist/components/FilterRadio/index.interface.d.ts +0 -0
- package/dist/components/FilterRadio/index.interface.js +0 -0
- package/dist/components/FilterRadio/index.js +0 -0
- package/dist/components/FilterRadio/index.scss +0 -0
- package/dist/components/MyBtn/index.d.ts +0 -0
- package/dist/components/MyBtn/index.interface.d.ts +0 -0
- package/dist/components/MyBtn/index.interface.js +0 -0
- package/dist/components/MyBtn/index.js +0 -0
- package/dist/components/NumberInput/index.d.ts +0 -0
- package/dist/components/NumberInput/index.interface.d.ts +0 -0
- package/dist/components/NumberInput/index.interface.js +0 -0
- package/dist/components/NumberInput/index.js +0 -0
- package/dist/components/NumberInput/index.scss +0 -0
- package/dist/components/OcrCommon/index.config.d.ts +0 -0
- package/dist/components/OcrCommon/index.config.js +0 -0
- package/dist/components/OcrCommon/index.d.ts +0 -0
- package/dist/components/OcrCommon/index.interface.d.ts +0 -0
- package/dist/components/OcrCommon/index.interface.js +0 -0
- package/dist/components/OcrCommon/index.js +0 -0
- package/dist/components/OcrCommon/index.scss +0 -0
- package/dist/components/PageTemplate/index.d.ts +1 -1
- package/dist/components/PageTemplate/index.interface.d.ts +0 -0
- package/dist/components/PageTemplate/index.interface.js +0 -0
- package/dist/components/PageTemplate/index.js +24 -23
- package/dist/components/PageTemplate/index.scss +0 -0
- package/dist/components/PageTemplate/resizable/index.d.ts +0 -0
- package/dist/components/PageTemplate/resizable/index.js +0 -0
- package/dist/components/PageTemplate/resizable/index.scss +0 -0
- package/dist/components/ReactEcharts/index.d.ts +0 -0
- package/dist/components/ReactEcharts/index.interface.d.ts +0 -0
- package/dist/components/ReactEcharts/index.interface.js +0 -0
- package/dist/components/ReactEcharts/index.js +0 -0
- package/dist/components/SelectMax/index.d.ts +0 -0
- package/dist/components/SelectMax/index.interface.d.ts +0 -0
- package/dist/components/SelectMax/index.interface.js +0 -0
- package/dist/components/SelectMax/index.js +0 -0
- package/dist/components/SelectPosition/index.d.ts +0 -0
- package/dist/components/SelectPosition/index.interface.d.ts +0 -0
- package/dist/components/SelectPosition/index.interface.js +0 -0
- package/dist/components/SelectPosition/index.js +0 -0
- package/dist/components/SelectPosition/index.scss +0 -0
- package/dist/components/SuperCascader/index.d.ts +0 -0
- package/dist/components/SuperCascader/index.interface.d.ts +0 -0
- package/dist/components/SuperCascader/index.interface.js +0 -0
- package/dist/components/SuperCascader/index.js +0 -0
- package/dist/components/SuperInput/index.d.ts +0 -0
- package/dist/components/SuperInput/index.interface.d.ts +0 -0
- package/dist/components/SuperInput/index.interface.js +0 -0
- package/dist/components/SuperInput/index.js +0 -0
- package/dist/components/TabsMode/index.d.ts +0 -0
- package/dist/components/TabsMode/index.interface.d.ts +0 -0
- package/dist/components/TabsMode/index.interface.js +0 -0
- package/dist/components/TabsMode/index.js +0 -0
- package/dist/components/TypographyText/index.d.ts +0 -0
- package/dist/components/TypographyText/index.interface.d.ts +0 -0
- package/dist/components/TypographyText/index.interface.js +0 -0
- package/dist/components/TypographyText/index.js +0 -0
- package/dist/components/TypographyText/index.scss +0 -0
- package/dist/components/VideoProgressModal/index.d.ts +0 -0
- package/dist/components/VideoProgressModal/index.interface.d.ts +0 -0
- package/dist/components/VideoProgressModal/index.interface.js +0 -0
- package/dist/components/VideoProgressModal/index.js +0 -0
- package/dist/components/VideoProgressModal/index.scss +0 -0
- package/dist/components/YLModal/index.d.ts +0 -0
- package/dist/components/YLModal/index.interface.d.ts +0 -0
- package/dist/components/YLModal/index.interface.js +0 -0
- package/dist/components/YLModal/index.js +0 -0
- package/dist/index.d.ts +0 -0
- package/dist/index.js +0 -0
- package/dist/react-app-env.d.ts +0 -0
- package/dist/utils/common.d.ts +0 -0
- package/dist/utils/common.js +0 -0
- package/dist/utils/index.d.ts +0 -0
- package/dist/utils/index.js +0 -0
- package/dist/utils/notificationHelper.d.ts +0 -0
- package/dist/utils/notificationHelper.js +0 -0
- package/dist/utils/responseMessage.d.ts +0 -0
- package/dist/utils/responseMessage.js +0 -0
- package/dist/utils/userSessionActions.d.ts +0 -0
- package/dist/utils/userSessionActions.js +0 -0
- package/package.json +10 -4
package/.eslintrc.js
CHANGED
|
File without changes
|
package/LICENSE
CHANGED
|
File without changes
|
package/README.md
CHANGED
|
@@ -36,95 +36,27 @@ $ yarn run docs:preview
|
|
|
36
36
|
|
|
37
37
|
# check your project for potential problems
|
|
38
38
|
$ yarn run doctor
|
|
39
|
+
|
|
40
|
+
# 生成最新 changelog
|
|
41
|
+
$ yarn log
|
|
39
42
|
```
|
|
40
43
|
|
|
44
|
+
## 关于 CHANGELOG
|
|
45
|
+
|
|
46
|
+
- 请在每次提交代码时,填写对应的 commit message,请遵循以下规范,已添加 commit 强校验来限制 commit message。
|
|
47
|
+
- 请在每次发布版本时,修改版本号,然后运行`yarn log`更新 CHANGELOG.md 文件。
|
|
48
|
+
- 根据上一步的版本号打上 tag,并推送到远程仓库。
|
|
49
|
+
|
|
50
|
+
## Commit Message 规范
|
|
51
|
+
|
|
52
|
+
- feat:新功能(feature)
|
|
53
|
+
- fix:修补 bug
|
|
54
|
+
- docs:文档(documentation)
|
|
55
|
+
- style:格式(不影响代码运行的变动)
|
|
56
|
+
- refactor:重构(即不是新增功能,也不是修改 bug 的代码变动)
|
|
57
|
+
- test:增加测试
|
|
58
|
+
- chore:构建过程或辅助工具的变动
|
|
59
|
+
|
|
41
60
|
## LICENSE
|
|
42
61
|
|
|
43
62
|
MIT
|
|
44
|
-
|
|
45
|
-
# 2024.10.17 更新日志
|
|
46
|
-
1 构建dumi项目 执行组件库
|
|
47
|
-
2 引用发布后的组件,可执行
|
|
48
|
-
|
|
49
|
-
# 2024.10.18 更新日志
|
|
50
|
-
1 配置dumi组件库,执行jenkins 编译成功
|
|
51
|
-
2 配置dumi组件库目录 配置路径指向
|
|
52
|
-
3 截止目前,该组件库可正常开发与使用
|
|
53
|
-
|
|
54
|
-
# 2024.10.21 更新日志
|
|
55
|
-
1、添加自动API配置及说明
|
|
56
|
-
2、添加导航及入口配置
|
|
57
|
-
3、首页配置调整
|
|
58
|
-
4、FilterRadio组件封装
|
|
59
|
-
5、SelectMax组件封装
|
|
60
|
-
6、ExportExcels组件封装
|
|
61
|
-
7、发布插件:依赖引用修改
|
|
62
|
-
|
|
63
|
-
# 2024.10.22 更新日志
|
|
64
|
-
1、更新文档使用说明
|
|
65
|
-
2、解决dayjs引用路径的问题
|
|
66
|
-
3、解决宿主插件引用报错的问题
|
|
67
|
-
4、SelectMax宿主引用组件调试
|
|
68
|
-
5、解决ant-design/icons打包报错的问题
|
|
69
|
-
6、更换样式插件,统一使用sass
|
|
70
|
-
7、PageTemplate组件封装
|
|
71
|
-
8、PageTemplate宿主引用与调试
|
|
72
|
-
|
|
73
|
-
# 2024.10.23 更新日志
|
|
74
|
-
1、EmptyDom 组件封装
|
|
75
|
-
2、EmptyDom 宿主引用与调试
|
|
76
|
-
3、SuperInput 组件封装
|
|
77
|
-
4、SuperInput 宿主引用与调试
|
|
78
|
-
5、DropDownSelect 组件封装
|
|
79
|
-
6、DropDownSelect 宿主引用与调试
|
|
80
|
-
7、公共方法引入处理
|
|
81
|
-
8、删除调试组件
|
|
82
|
-
9、YLModal 组件封装
|
|
83
|
-
10、YLModal 宿主引用与调试
|
|
84
|
-
|
|
85
|
-
# 2024.10.24 更新日志
|
|
86
|
-
1、SuperCascader 组件封装
|
|
87
|
-
2、SuperCascader 宿主引用与调试
|
|
88
|
-
3、BigImage 组件封装
|
|
89
|
-
4、BigImage 宿主引用与调试
|
|
90
|
-
5、解决rc-viewer插件打包报错的问题
|
|
91
|
-
6、组件文档调整
|
|
92
|
-
|
|
93
|
-
# 2024.10.28 更新日志
|
|
94
|
-
1、VideoProgressModal 组件封装
|
|
95
|
-
2、VideoProgressModal 宿主引用与调试
|
|
96
|
-
3、TabsMode 组件封装
|
|
97
|
-
4、TabsMode 宿主引用与调试
|
|
98
|
-
5、NumberInput 组件封装
|
|
99
|
-
6、NumberInput 宿主引用与调试
|
|
100
|
-
7、更换组件库 @yilianjituan/yilian_dgerm -> @yilianjituan/yilian_dgerm
|
|
101
|
-
8、依赖适配与打包
|
|
102
|
-
9、宿主引用测试
|
|
103
|
-
10、PageTemplate 适配,开放属性 buttonTheme 作为按钮颜色属性
|
|
104
|
-
|
|
105
|
-
# 2024.10.29 更新日志
|
|
106
|
-
1、DropDownSelect 传参调整(抽离业务)
|
|
107
|
-
2、PageTemplate 宿主样式调整
|
|
108
|
-
3、dumi框架路由调整(区分业务组件与纯组件)
|
|
109
|
-
4、结构调整后宿主引用测试
|
|
110
|
-
5、ReactEcharts 组件封装
|
|
111
|
-
6、ReactEcharts 宿主引用与调试
|
|
112
|
-
7、PageTemplate 功能扩展:添加addNo
|
|
113
|
-
8、PageTemplate 按钮适配:扩展edc
|
|
114
|
-
9、更换组件引入路径
|
|
115
|
-
10、PageTemplate 功能扩展: 添加ref声明
|
|
116
|
-
11、PageTemplate 参数调试:传入http
|
|
117
|
-
|
|
118
|
-
# 2024.10.30 更新日志
|
|
119
|
-
1、SelectMax 参数调试:传入http
|
|
120
|
-
2、DropDownSelect 参数调试:传入http
|
|
121
|
-
3、组件适配:PageTemplate 差异适配
|
|
122
|
-
4、添加执行命令 build-copy 支持本地打包调试
|
|
123
|
-
|
|
124
|
-
# 2024.10.31 更新日志
|
|
125
|
-
1、SelectPosition 组件封装
|
|
126
|
-
2、SelectPosition 宿主引用与调试
|
|
127
|
-
3、全局样式调整
|
|
128
|
-
|
|
129
|
-
# 2024.11.07 更新日志
|
|
130
|
-
1、组件调整:DropDownSelect添加查询控制参数changeNoSearch
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/commonAxios/http.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { IPageTemPropsData } from './index.interface';
|
|
2
3
|
import './index.scss';
|
|
3
|
-
import React from 'react';
|
|
4
4
|
declare const _default: React.ForwardRefExoticComponent<Omit<IPageTemPropsData, "ref"> & React.RefAttributes<unknown>>;
|
|
5
5
|
export default _default;
|
|
File without changes
|
|
File without changes
|
|
@@ -24,17 +24,16 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
|
24
24
|
/**
|
|
25
25
|
* @列表页pageTemplate
|
|
26
26
|
*/
|
|
27
|
-
import { forwardRef, useEffect, useImperativeHandle, useLayoutEffect, useRef, useState } from 'react';
|
|
28
|
-
import { Button, Form, Table, Input, DatePicker, message } from 'antd';
|
|
29
27
|
import { ExportOutlined, ReloadOutlined, SearchOutlined } from '@ant-design/icons';
|
|
30
|
-
import SelectMax from "../SelectMax";
|
|
31
|
-
import FilterRadio from "../FilterRadio";
|
|
32
|
-
import "./index.scss";
|
|
33
|
-
import ExportExcels from "../ExportExcels";
|
|
34
|
-
import { exportCompile } from "../../utils/common";
|
|
35
|
-
import React from 'react';
|
|
36
28
|
import { DropDownSelect } from "../..";
|
|
29
|
+
import { Button, DatePicker, Form, Input, message, Table } from 'antd';
|
|
37
30
|
import dayjs from 'dayjs';
|
|
31
|
+
import React, { forwardRef, useEffect, useImperativeHandle, useLayoutEffect, useRef, useState } from 'react';
|
|
32
|
+
import { exportCompile } from "../../utils/common";
|
|
33
|
+
import ExportExcels from "../ExportExcels";
|
|
34
|
+
import FilterRadio from "../FilterRadio";
|
|
35
|
+
import SelectMax from "../SelectMax";
|
|
36
|
+
import "./index.scss";
|
|
38
37
|
import { mergedColumns, ResizableTitle } from "./resizable";
|
|
39
38
|
var FormItem = Form.Item;
|
|
40
39
|
var RangePicker = DatePicker.RangePicker;
|
|
@@ -135,11 +134,11 @@ var PageTemplate = function PageTemplate(props, ref) {
|
|
|
135
134
|
if (addNo) {
|
|
136
135
|
// 默认添加序号
|
|
137
136
|
var initColumn = {
|
|
138
|
-
title:
|
|
139
|
-
dataIndex:
|
|
140
|
-
key:
|
|
137
|
+
title: '序号',
|
|
138
|
+
dataIndex: '',
|
|
139
|
+
key: 'rowIndex',
|
|
141
140
|
width: 70,
|
|
142
|
-
align:
|
|
141
|
+
align: 'center',
|
|
143
142
|
fixed: 'left',
|
|
144
143
|
render: function render(_, __, index) {
|
|
145
144
|
return (current - 1) * pageSizeRef.current + index + 1;
|
|
@@ -175,7 +174,9 @@ var PageTemplate = function PageTemplate(props, ref) {
|
|
|
175
174
|
pageNum: current,
|
|
176
175
|
pageSize: pageSizeRef.current
|
|
177
176
|
};
|
|
178
|
-
paramsRef.current = beforeRequest(_objectSpread(_objectSpread({
|
|
177
|
+
paramsRef.current = beforeRequest(_objectSpread(_objectSpread({
|
|
178
|
+
pageNo: current
|
|
179
|
+
}, values), options));
|
|
179
180
|
if (!paramsRef.current) return; // 是否阻断搜索
|
|
180
181
|
|
|
181
182
|
var params = {};
|
|
@@ -258,12 +259,12 @@ var PageTemplate = function PageTemplate(props, ref) {
|
|
|
258
259
|
rest = _objectWithoutProperties(_ref4, _excluded);
|
|
259
260
|
var initShowTime = {
|
|
260
261
|
hideDisabledOptions: true,
|
|
261
|
-
defaultValue: [dayjs(
|
|
262
|
+
defaultValue: [dayjs('00:00:00', 'HH:mm:ss'), dayjs('23:59:59', 'HH:mm:ss')]
|
|
262
263
|
};
|
|
263
264
|
return /*#__PURE__*/React.createElement(RangePicker, _extends({
|
|
264
265
|
placeholder: ['开始时间', '结束时间'],
|
|
265
266
|
key: key,
|
|
266
|
-
showTime: showTime
|
|
267
|
+
showTime: typeof showTime === 'undefined' ? initShowTime : showTime
|
|
267
268
|
}, rest));
|
|
268
269
|
case 'Input':
|
|
269
270
|
return /*#__PURE__*/React.createElement(Input, {
|
|
@@ -286,7 +287,7 @@ var PageTemplate = function PageTemplate(props, ref) {
|
|
|
286
287
|
},
|
|
287
288
|
reset: reset
|
|
288
289
|
}, componentOptions));
|
|
289
|
-
case
|
|
290
|
+
case 'DorpDownSelect':
|
|
290
291
|
return /*#__PURE__*/React.createElement(DropDownSelect, _extends({
|
|
291
292
|
key: key
|
|
292
293
|
}, componentOptions));
|
|
@@ -315,10 +316,10 @@ var PageTemplate = function PageTemplate(props, ref) {
|
|
|
315
316
|
|
|
316
317
|
/**
|
|
317
318
|
* 导出
|
|
318
|
-
|
|
319
|
+
*/
|
|
319
320
|
var exportList = function exportList() {
|
|
320
321
|
if (dataSource.length === 0) {
|
|
321
|
-
message.error(
|
|
322
|
+
message.error('暂无数据,无法导出!');
|
|
322
323
|
return;
|
|
323
324
|
}
|
|
324
325
|
setIsSpinLoading(true);
|
|
@@ -344,11 +345,11 @@ var PageTemplate = function PageTemplate(props, ref) {
|
|
|
344
345
|
var getPlatFormTheme = function getPlatFormTheme() {
|
|
345
346
|
switch (buttonTheme) {
|
|
346
347
|
case 'department':
|
|
347
|
-
return
|
|
348
|
+
return 'actions actions-theme';
|
|
348
349
|
case 'edc':
|
|
349
|
-
return
|
|
350
|
+
return 'actions actions-theme-edc';
|
|
350
351
|
default:
|
|
351
|
-
return
|
|
352
|
+
return 'actions';
|
|
352
353
|
}
|
|
353
354
|
};
|
|
354
355
|
return /*#__PURE__*/React.createElement(Form, {
|
|
@@ -384,8 +385,8 @@ var PageTemplate = function PageTemplate(props, ref) {
|
|
|
384
385
|
};
|
|
385
386
|
|
|
386
387
|
/**
|
|
387
|
-
|
|
388
|
-
|
|
388
|
+
* 导出 excel
|
|
389
|
+
*/
|
|
389
390
|
var exportProps = {
|
|
390
391
|
isSpinLoading: isSpinLoading
|
|
391
392
|
};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/index.d.ts
CHANGED
|
File without changes
|
package/dist/index.js
CHANGED
|
File without changes
|
package/dist/react-app-env.d.ts
CHANGED
|
File without changes
|
package/dist/utils/common.d.ts
CHANGED
|
File without changes
|
package/dist/utils/common.js
CHANGED
|
File without changes
|
package/dist/utils/index.d.ts
CHANGED
|
File without changes
|
package/dist/utils/index.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yilianjituan/yilian_dgerm",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "A react library developed with dumi",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"React",
|
|
@@ -26,10 +26,16 @@
|
|
|
26
26
|
"lint": "npm run lint:es && npm run lint:css",
|
|
27
27
|
"lint:css": "stylelint \"{src,test}/**/*.{css,less}\"",
|
|
28
28
|
"lint:es": "eslint \"{src,test}/**/*.{js,jsx,ts,tsx}\"",
|
|
29
|
+
"log": "conventional-changelog -p angular -i CHANGELOG.md -s",
|
|
29
30
|
"prepare": "husky install && dumi setup",
|
|
30
31
|
"prepublishOnly": "father doctor && npm run build",
|
|
31
32
|
"start": "npm run dev"
|
|
32
33
|
},
|
|
34
|
+
"husky": {
|
|
35
|
+
"hooks": {
|
|
36
|
+
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
33
39
|
"commitlint": {
|
|
34
40
|
"extends": [
|
|
35
41
|
"@commitlint/config-conventional"
|
|
@@ -74,8 +80,8 @@
|
|
|
74
80
|
"react-resizable": "^3.0.5"
|
|
75
81
|
},
|
|
76
82
|
"devDependencies": {
|
|
77
|
-
"@commitlint/cli": "^17.1
|
|
78
|
-
"@commitlint/config-conventional": "^17.1
|
|
83
|
+
"@commitlint/cli": "^17.8.1",
|
|
84
|
+
"@commitlint/config-conventional": "^17.8.1",
|
|
79
85
|
"@types/jsdom": "^21.1.7",
|
|
80
86
|
"@types/lodash": "^4.17.12",
|
|
81
87
|
"@types/qs": "^6.9.16",
|
|
@@ -87,7 +93,7 @@
|
|
|
87
93
|
"eslint": "^8.23.0",
|
|
88
94
|
"father": "^4.1.0",
|
|
89
95
|
"fs-extra": "^11.2.0",
|
|
90
|
-
"husky": "^
|
|
96
|
+
"husky": "^9.1.7",
|
|
91
97
|
"lint-staged": "^13.0.3",
|
|
92
98
|
"prettier": "^2.7.1",
|
|
93
99
|
"prettier-plugin-organize-imports": "^3.0.0",
|