@yilianjituan/yilian_dgerm 1.0.4 → 1.0.5
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 +0 -0
- 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 +3 -2
- 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 +2 -2
- package/dist/components/FileUpload/index.interface.d.ts +1 -1
- package/dist/components/FileUpload/index.interface.js +0 -0
- package/dist/components/FileUpload/index.js +10 -10
- 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 +0 -0
- package/dist/components/PageTemplate/index.interface.d.ts +4 -3
- package/dist/components/PageTemplate/index.interface.js +0 -0
- package/dist/components/PageTemplate/index.js +60 -30
- package/dist/components/PageTemplate/index.scss +48 -0
- package/dist/components/PageTemplate/resizable/index.d.ts +0 -0
- package/dist/components/PageTemplate/resizable/index.js +48 -11
- package/dist/components/PageTemplate/resizable/index.scss +41 -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 +2 -2
- package/dist/utils/common.js +17 -16
- 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 +1 -1
- package/CHANGELOG.md +0 -77
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
var _excluded = ["onResize", "width", "isEnd"],
|
|
2
2
|
_excluded2 = ["components", "columns", "dataSource", "tableLayout"];
|
|
3
3
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
|
+
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
5
|
+
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
6
|
+
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
7
|
+
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
4
8
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
5
9
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
6
10
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
@@ -16,7 +20,7 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
|
|
|
16
20
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
17
21
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
18
22
|
import { Table } from 'antd';
|
|
19
|
-
import React, { useEffect, useRef } from 'react';
|
|
23
|
+
import React, { useEffect, useRef, useState } from 'react';
|
|
20
24
|
import { Resizable } from 'react-resizable';
|
|
21
25
|
import "./index.scss";
|
|
22
26
|
/**
|
|
@@ -155,18 +159,42 @@ var ResizableTitle = function ResizableTitle(props) {
|
|
|
155
159
|
}, /*#__PURE__*/React.createElement("th", restProps));
|
|
156
160
|
};
|
|
157
161
|
var CustomTable = function CustomTable(props) {
|
|
162
|
+
var _document$querySelect3;
|
|
158
163
|
var components = props.components,
|
|
159
164
|
columns = props.columns,
|
|
160
165
|
dataSource = props.dataSource,
|
|
161
166
|
tableLayout = props.tableLayout,
|
|
162
167
|
restProps = _objectWithoutProperties(props, _excluded2);
|
|
163
168
|
var tableRef = useRef(null); // 引用 Table 外层容器
|
|
164
|
-
var
|
|
165
|
-
|
|
166
|
-
column =
|
|
167
|
-
setColumn =
|
|
169
|
+
var _useState = useState(columns),
|
|
170
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
171
|
+
column = _useState2[0],
|
|
172
|
+
setColumn = _useState2[1];
|
|
173
|
+
var _useState3 = useState(null),
|
|
174
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
175
|
+
tableHeight = _useState4[0],
|
|
176
|
+
setTableHeight = _useState4[1];
|
|
168
177
|
useEffect(function () {
|
|
169
|
-
|
|
178
|
+
var _document$querySelect;
|
|
179
|
+
if ((_document$querySelect = document.querySelector('.ant-table-small')) !== null && _document$querySelect !== void 0 && _document$querySelect.clientHeight) {
|
|
180
|
+
var _document$querySelect2;
|
|
181
|
+
setTableHeight((((_document$querySelect2 = document.querySelector('.ant-table-small')) === null || _document$querySelect2 === void 0 ? void 0 : _document$querySelect2.clientHeight) || 0) - 40);
|
|
182
|
+
}
|
|
183
|
+
}, [(_document$querySelect3 = document.querySelector('.ant-table-small')) === null || _document$querySelect3 === void 0 ? void 0 : _document$querySelect3.clientHeight]);
|
|
184
|
+
useEffect(function () {
|
|
185
|
+
if (!columns || columns.length === 0) {
|
|
186
|
+
return; // 如果 columns 为空或长度为0,直接返回
|
|
187
|
+
}
|
|
188
|
+
var _columns = _toConsumableArray(columns);
|
|
189
|
+
_columns = _columns.map(function (item) {
|
|
190
|
+
return _objectSpread(_objectSpread({}, item), {}, {
|
|
191
|
+
minWidth: item.minWidth || item.title.length * 20 + 20,
|
|
192
|
+
ellipsis: item.ellipsis || true,
|
|
193
|
+
align: item.align || 'center',
|
|
194
|
+
fixed: item.fixed || (['action', 'operation', 'handle', 'handle_box'].includes(item.dataIndex) ? 'right' : ['rowIndex'].includes(item.key) ? 'left' : undefined)
|
|
195
|
+
});
|
|
196
|
+
});
|
|
197
|
+
setColumn(_columns);
|
|
170
198
|
}, [dataSource, columns]);
|
|
171
199
|
var customComponents = _objectSpread({
|
|
172
200
|
header: _objectSpread({
|
|
@@ -174,12 +202,21 @@ var CustomTable = function CustomTable(props) {
|
|
|
174
202
|
}, components === null || components === void 0 ? void 0 : components.header)
|
|
175
203
|
}, components);
|
|
176
204
|
return /*#__PURE__*/React.createElement("div", {
|
|
205
|
+
className: "custom-ant-table",
|
|
177
206
|
ref: tableRef
|
|
178
|
-
}, /*#__PURE__*/React.createElement(Table, _extends({
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
207
|
+
}, /*#__PURE__*/React.createElement(Table, _extends({
|
|
208
|
+
size: "small"
|
|
209
|
+
}, restProps, {
|
|
210
|
+
scroll: {
|
|
211
|
+
x: 1500,
|
|
212
|
+
y: tableHeight || undefined
|
|
213
|
+
}
|
|
214
|
+
// columns={mergedColumns(column as any, tableRef, (_columns) => setColumn(_columns as any)) as any}
|
|
215
|
+
,
|
|
216
|
+
columns: column
|
|
217
|
+
// components={customComponents}
|
|
218
|
+
,
|
|
219
|
+
components: components,
|
|
183
220
|
dataSource: dataSource || [],
|
|
184
221
|
tableLayout: tableLayout || 'auto'
|
|
185
222
|
})));
|
|
@@ -22,4 +22,45 @@
|
|
|
22
22
|
.react-resizable {
|
|
23
23
|
word-wrap: break-word !important;
|
|
24
24
|
word-break: break-all !important;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.custom-ant-table {
|
|
28
|
+
flex: 1;
|
|
29
|
+
display: flex;
|
|
30
|
+
flex-direction: column;
|
|
31
|
+
overflow: hidden;
|
|
32
|
+
|
|
33
|
+
.ant-table-wrapper {
|
|
34
|
+
flex: 1;
|
|
35
|
+
overflow: hidden;
|
|
36
|
+
|
|
37
|
+
.ant-spin-nested-loading {
|
|
38
|
+
height: 100%;
|
|
39
|
+
overflow: hidden;
|
|
40
|
+
|
|
41
|
+
.ant-spin-container {
|
|
42
|
+
height: 100%;
|
|
43
|
+
overflow: hidden;
|
|
44
|
+
display: flex;
|
|
45
|
+
flex-direction: column;
|
|
46
|
+
|
|
47
|
+
.ant-table-small {
|
|
48
|
+
flex: 1;
|
|
49
|
+
overflow: hidden;
|
|
50
|
+
|
|
51
|
+
.ant-table-body {
|
|
52
|
+
max-height: none !important;
|
|
53
|
+
flex: 1;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.ant-table-container {
|
|
57
|
+
height: 100%;
|
|
58
|
+
overflow: hidden;
|
|
59
|
+
display: flex;
|
|
60
|
+
flex-direction: column;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
25
66
|
}
|
|
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
package/dist/utils/common.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { message } from
|
|
1
|
+
import { message } from 'antd';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* UTF8编码转成汉字字符串
|
|
@@ -8,22 +8,22 @@ export function revertUTF8(szInput) {
|
|
|
8
8
|
var x,
|
|
9
9
|
wch,
|
|
10
10
|
wch1,
|
|
11
|
-
wch2 =
|
|
12
|
-
szRet =
|
|
11
|
+
wch2 = '',
|
|
12
|
+
szRet = '';
|
|
13
13
|
for (x = 0; x < szInput.length; x++) {
|
|
14
|
-
if (szInput.charAt(x) ===
|
|
14
|
+
if (szInput.charAt(x) === '%') {
|
|
15
15
|
wch = parseInt(szInput.charAt(++x) + szInput.charAt(++x), 16);
|
|
16
16
|
if (!wch) {
|
|
17
17
|
break;
|
|
18
18
|
}
|
|
19
19
|
if (!(wch & 0x80)) {
|
|
20
|
-
// eslint-disable-next-line
|
|
20
|
+
// eslint-disable-next-line
|
|
21
21
|
wch = wch;
|
|
22
22
|
} else if (!(wch & 0x20)) {
|
|
23
23
|
x++;
|
|
24
24
|
wch1 = parseInt(szInput.charAt(++x) + szInput.charAt(++x), 16);
|
|
25
|
-
wch = (wch &
|
|
26
|
-
wch1 = wch1 &
|
|
25
|
+
wch = (wch & 0x1f) << 6;
|
|
26
|
+
wch1 = wch1 & 0x3f;
|
|
27
27
|
wch = wch + wch1;
|
|
28
28
|
} else {
|
|
29
29
|
x++;
|
|
@@ -32,11 +32,11 @@ export function revertUTF8(szInput) {
|
|
|
32
32
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
33
33
|
// @ts-ignore
|
|
34
34
|
wch2 = parseInt(szInput.charAt(++x) + szInput.charAt(++x), 16);
|
|
35
|
-
wch = (wch &
|
|
36
|
-
wch1 = (wch1 &
|
|
35
|
+
wch = (wch & 0x0f) << 12;
|
|
36
|
+
wch1 = (wch1 & 0x3f) << 6;
|
|
37
37
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
38
38
|
// @ts-ignore
|
|
39
|
-
wch2 = wch2 &
|
|
39
|
+
wch2 = wch2 & 0x3f;
|
|
40
40
|
wch = wch + wch1 + wch2;
|
|
41
41
|
}
|
|
42
42
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -49,8 +49,8 @@ export function revertUTF8(szInput) {
|
|
|
49
49
|
return szRet;
|
|
50
50
|
}
|
|
51
51
|
/**
|
|
52
|
-
* 导出编译
|
|
53
|
-
*/
|
|
52
|
+
* 导出编译
|
|
53
|
+
*/
|
|
54
54
|
export function exportCompile(res) {
|
|
55
55
|
var data = res.data;
|
|
56
56
|
// 有可能下载失败,设置了responseType: 'blob',axios会把data强制转为blob
|
|
@@ -66,12 +66,13 @@ export function exportCompile(res) {
|
|
|
66
66
|
try {
|
|
67
67
|
var resData = JSON.parse(e.target.result); // this.result为FileReader获取blob数据转换为json后的数据,即后台返回的原始数据
|
|
68
68
|
// 如果执行到这里,说明下载报错了,进行后续处理
|
|
69
|
-
if (resData.result ===
|
|
69
|
+
if (resData.result === 'NULL') {
|
|
70
70
|
message.error('无数据无法导出,请确认后操作');
|
|
71
71
|
} else {
|
|
72
72
|
message.error(resData.message);
|
|
73
73
|
}
|
|
74
74
|
} catch (err) {
|
|
75
|
+
var _res$headers$content;
|
|
75
76
|
// 下载正常处理
|
|
76
77
|
var fileName = res.headers['content-disposition'];
|
|
77
78
|
// 获取文件名
|
|
@@ -90,12 +91,12 @@ export function exportCompile(res) {
|
|
|
90
91
|
return;
|
|
91
92
|
}
|
|
92
93
|
var blob = new Blob([res.data], {
|
|
93
|
-
type:
|
|
94
|
+
type: ''
|
|
94
95
|
});
|
|
95
96
|
var objectUrl = URL.createObjectURL(blob);
|
|
96
|
-
var a = document.createElement(
|
|
97
|
+
var a = document.createElement('a');
|
|
97
98
|
a.href = objectUrl;
|
|
98
|
-
a.download = revertUTF8(res.headers['content-disposition'].split('=')[1]);
|
|
99
|
+
a.download = revertUTF8((_res$headers$content = res.headers['content-disposition']) === null || _res$headers$content === void 0 ? void 0 : _res$headers$content.split('=')[1]);
|
|
99
100
|
a.click();
|
|
100
101
|
}
|
|
101
102
|
};
|
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
package/CHANGELOG.md
DELETED
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
## [1.0.4](https://git.yljt.cn:522/web-module/yl_dgerm/compare/v1.0.3...v1.0.4) (2025-05-29)
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
### Bug Fixes
|
|
5
|
-
|
|
6
|
-
* 修复OCR识别组件受父组件刷新影响的问题 ([6266fbe](https://git.yljt.cn:522/web-module/yl_dgerm/commits/6266fbeaf2943f42b9e5e938c755714c47838f4a))
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
## [1.0.3](https://git.yljt.cn:522/web-module/yl_dgerm/compare/v1.0.0...v1.0.3) (2025-05-19)
|
|
11
|
-
|
|
12
|
-
### Bug Fixes
|
|
13
|
-
|
|
14
|
-
- 修复 pagetem 分页参数 ([2afa5b9](https://git.yljt.cn:522/web-module/yl_dgerm/commits/2afa5b99966c1faca007aa486aca86a1759fe3a2))
|
|
15
|
-
- 自定义 modal 弹窗样式,oss 上传组件优化 ([06e8a8f](https://git.yljt.cn:522/web-module/yl_dgerm/commits/06e8a8fb354b73698643ac0b67523a48cd5bcda2))
|
|
16
|
-
|
|
17
|
-
# [1.0.0](https://git.yljt.cn:522/web-module/yl_dgerm/compare/v0.0.1-alpha.47...v1.0.0) (2025-03-06)
|
|
18
|
-
|
|
19
|
-
### Features
|
|
20
|
-
|
|
21
|
-
- 时间组件添加 showTime 判断,用来兼容 showTime === false 的情况 ([c365fc3](https://git.yljt.cn:522/web-module/yl_dgerm/commits/c365fc350bb7154bdebd7dc1ab69bccd5a8f5c7b))
|
|
22
|
-
|
|
23
|
-
## [0.0.1-alpha.47](https://git.yljt.cn:522/web-module/yl_dgerm/compare/v0.0.1-alpha.39...v0.0.1-alpha.47) (2025-02-25)
|
|
24
|
-
|
|
25
|
-
### Features
|
|
26
|
-
|
|
27
|
-
- YLModal 拖拽方案修改 ([4d0135](https://git.yljt.cn/web-module/yl_dgerm/-/commit/4d0135edc8bbf1acff4c66d6ebff3d9f7f1fc0f7))
|
|
28
|
-
|
|
29
|
-
### Bug Fixes
|
|
30
|
-
|
|
31
|
-
- 修复 DropDownSelect 组件 ([40cf036](https://git.yljt.cn:522/web-module/yl_dgerm/commits/40cf03694b74d59e863e561830e10045074c49c7))
|
|
32
|
-
|
|
33
|
-
## [0.0.1-alpha.39](https://git.yljt.cn:522/web-module/yl_dgerm/compare/eced17d51f298c04b61797eaea829549ed2c4bfa...v0.0.1-alpha.39) (2024-12-04)
|
|
34
|
-
|
|
35
|
-
### Bug Fixes
|
|
36
|
-
|
|
37
|
-
- 版本修改 ([db121a2](https://git.yljt.cn:522/web-module/yl_dgerm/commits/db121a29a55e964bd8c2f54e74b51dd9961f93a8))
|
|
38
|
-
- 变量名称优化 ([3efe62f](https://git.yljt.cn:522/web-module/yl_dgerm/commits/3efe62f5037660137e01e2ad00b48345c93998d7))
|
|
39
|
-
- 封装 ocr 通用组件 ([de37c47](https://git.yljt.cn:522/web-module/yl_dgerm/commits/de37c476c1c70f3b17a264260c887342c0942095))
|
|
40
|
-
- 更新版本号 ([bb49068](https://git.yljt.cn:522/web-module/yl_dgerm/commits/bb49068c4aec1a75a095b5cbbc84885237fc6305))
|
|
41
|
-
- 更新版本号 ([22008e6](https://git.yljt.cn:522/web-module/yl_dgerm/commits/22008e6823a236515e88ff587ba998c23d0ea446))
|
|
42
|
-
- 清空粘贴板 ([0a38d1e](https://git.yljt.cn:522/web-module/yl_dgerm/commits/0a38d1ef8f9df314e68aff6265a9d4707a5ed152))
|
|
43
|
-
- 删除 html ([8bececc](https://git.yljt.cn:522/web-module/yl_dgerm/commits/8bececc59c80b0e98841f29f197896a95391fe60))
|
|
44
|
-
- 删除 jest ([bdbd693](https://git.yljt.cn:522/web-module/yl_dgerm/commits/bdbd693aa37c48f46310f94796ad51ac14c4b389))
|
|
45
|
-
- 文档维护 ([bd96292](https://git.yljt.cn:522/web-module/yl_dgerm/commits/bd9629247a451d22ca708cb9c6ca21026cfc9235))
|
|
46
|
-
- 文档维护 ([0794420](https://git.yljt.cn:522/web-module/yl_dgerm/commits/0794420b9fff50e5e497a49bcab898d61556bd9d))
|
|
47
|
-
- 文档维护 ([9503527](https://git.yljt.cn:522/web-module/yl_dgerm/commits/95035277799162ccb76fcaa82d877760114cf1da))
|
|
48
|
-
- 文档维护 ([e4d15d4](https://git.yljt.cn:522/web-module/yl_dgerm/commits/e4d15d4e86cfa79be49a46d7175adf59e9bbe2ca))
|
|
49
|
-
- 文档维护 ([303a5b6](https://git.yljt.cn:522/web-module/yl_dgerm/commits/303a5b60aef5b62463e95ca1ad62fa9f5699e072))
|
|
50
|
-
- 文档维护 ([b695706](https://git.yljt.cn:522/web-module/yl_dgerm/commits/b695706fd17290320f0b797b413612a617acc386))
|
|
51
|
-
- 文档维护 ([95dc2da](https://git.yljt.cn:522/web-module/yl_dgerm/commits/95dc2dae2d23e7141216ebd2bb86a33bac8099c8))
|
|
52
|
-
- 文档维护 ([5523d28](https://git.yljt.cn:522/web-module/yl_dgerm/commits/5523d28f00a8527a131a409ea3fd23a8fa5f8b05))
|
|
53
|
-
- 文档维护 ([8418bc2](https://git.yljt.cn:522/web-module/yl_dgerm/commits/8418bc288628080a93cfd504b11ac91505527573))
|
|
54
|
-
- 文档维护 ([0ca0a06](https://git.yljt.cn:522/web-module/yl_dgerm/commits/0ca0a06cce9c842b5f8b8a6e77883ae07c8d9d18))
|
|
55
|
-
- 文档维护 ([6303e90](https://git.yljt.cn:522/web-module/yl_dgerm/commits/6303e90100ea4cb545a3dfdbc591b0af74e6c124))
|
|
56
|
-
- 新版 ocr ([466896c](https://git.yljt.cn:522/web-module/yl_dgerm/commits/466896cbd5cdf8e67d66a3a6bdbdd8ab6f3bb5d9))
|
|
57
|
-
- 修复 ocr ([b5e1e6d](https://git.yljt.cn:522/web-module/yl_dgerm/commits/b5e1e6d3b4b456f674d49f653695ff976e52bf9c))
|
|
58
|
-
- 修复 ocr ([873297b](https://git.yljt.cn:522/web-module/yl_dgerm/commits/873297bd74ce73baebd33b9e5131ec36a1789646))
|
|
59
|
-
- 修复 ocr 样式 ([a5e2805](https://git.yljt.cn:522/web-module/yl_dgerm/commits/a5e2805007f0746918a9c0788c05221e9209e425))
|
|
60
|
-
- 修改版本号 ([7979da1](https://git.yljt.cn:522/web-module/yl_dgerm/commits/7979da1e60320e2c4ac393976986dfb8c01a168c))
|
|
61
|
-
- 修改名称 ([77d7d7d](https://git.yljt.cn:522/web-module/yl_dgerm/commits/77d7d7d174b79913b421208bb3e3408a5b61494a))
|
|
62
|
-
- 修改配置文件 ([3f1b7fa](https://git.yljt.cn:522/web-module/yl_dgerm/commits/3f1b7fa71c46fa09fe61b398429887aec356728d))
|
|
63
|
-
- 修改 favicon ([eced17d](https://git.yljt.cn:522/web-module/yl_dgerm/commits/eced17d51f298c04b61797eaea829549ed2c4bfa))
|
|
64
|
-
- 引入 jest 测试单元 ([9da3ee1](https://git.yljt.cn:522/web-module/yl_dgerm/commits/9da3ee178c7d2665b8da6dc61754e2fade1da02b))
|
|
65
|
-
- 组件梳理 ([8148b07](https://git.yljt.cn:522/web-module/yl_dgerm/commits/8148b07d054339c9b381eeba0a5554fc783dc8b3))
|
|
66
|
-
- config 配置 ([5615a1c](https://git.yljt.cn:522/web-module/yl_dgerm/commits/5615a1c763a6b834abefa8dcd29bb5e9debcbffb))
|
|
67
|
-
- config 配置 ([2504b67](https://git.yljt.cn:522/web-module/yl_dgerm/commits/2504b678703d5fc1bb679f949a348d6b5090da2f))
|
|
68
|
-
- config 配置 ([6f44588](https://git.yljt.cn:522/web-module/yl_dgerm/commits/6f44588e05fcd808c069e0f26e4c6e1da2923c89))
|
|
69
|
-
- jsdom 降版本 ([e37a38c](https://git.yljt.cn:522/web-module/yl_dgerm/commits/e37a38c4ff90f4ed24f52aaf0b3f5265e10f1ccc))
|
|
70
|
-
- jsdom 降版本 ([0b9dd48](https://git.yljt.cn:522/web-module/yl_dgerm/commits/0b9dd4871c5aff303c8c3eb1bb2e2da794861b76))
|
|
71
|
-
- jsdom 降版本 ([23d8f01](https://git.yljt.cn:522/web-module/yl_dgerm/commits/23d8f0188014fcee865396aaf665d06ede41929a))
|
|
72
|
-
- ocr 添加依赖 ([d23cd95](https://git.yljt.cn:522/web-module/yl_dgerm/commits/d23cd95f033fbd9ff4659e481136f87d0f5dbd8f))
|
|
73
|
-
- ocr 通用组件增加请求回调勾子 ([99951c9](https://git.yljt.cn:522/web-module/yl_dgerm/commits/99951c945fee863200909e135bead9e8110ca1bf))
|
|
74
|
-
- ocr 修复 ([42264e7](https://git.yljt.cn:522/web-module/yl_dgerm/commits/42264e76c39d9c1490d086b7a7b751edb6f7143c))
|
|
75
|
-
- test-library 降版本 ([1f93a8c](https://git.yljt.cn:522/web-module/yl_dgerm/commits/1f93a8caabe91943f534f19c3514bc3bae7951cb))
|
|
76
|
-
- test-library 降版本 ([03a5423](https://git.yljt.cn:522/web-module/yl_dgerm/commits/03a542314ce9736ec5a0faa8f0ee42243395e56f))
|
|
77
|
-
- title 文案修复 ([ed69177](https://git.yljt.cn:522/web-module/yl_dgerm/commits/ed69177cc96b63bc7a3bdeff483aa5a946f285dd))
|