@zgfe/business-lib 1.2.70-hxd.1 → 1.2.70-hxd.11
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/README.md +12 -12
- package/config.js +41 -41
- package/es/AUMFormulaTarget/components/formula/index.less +86 -86
- package/es/AUMFormulaTarget/components/panel/index.less +269 -269
- package/es/AUMFormulaTarget/components/symbol/index.less +49 -49
- package/es/AUMFormulaTarget/styles/index.less +74 -74
- package/es/addToPanel/styles/addPanel.less +25 -25
- package/es/addToPanel/styles/index.less +17 -17
- package/es/addToPanel/styles/style.less +66 -66
- package/es/addToScene/styles/index.less +30 -30
- package/es/assets/colorIcon/demo.css +539 -539
- package/es/assets/colorIcon/demo_index.html +1454 -1454
- package/es/assets/colorIcon/iconfont.css +236 -236
- package/es/assets/colorIcon/iconfont.json +394 -394
- package/es/assets/colorIcon/iconfont.svg +129 -129
- package/es/assets/iconfont/demo.css +539 -539
- package/es/assets/iconfont/demo_index.html +5708 -5593
- package/es/assets/iconfont/iconfont.css +975 -955
- package/es/assets/iconfont/iconfont.js +1 -1
- package/es/assets/iconfont/iconfont.json +1689 -1654
- package/es/assets/iconfont/iconfont.ttf +0 -0
- package/es/assets/iconfont/iconfont.woff +0 -0
- package/es/assets/iconfont/iconfont.woff2 +0 -0
- package/es/assets/styles/chunks.less +183 -183
- package/es/assets/styles/inner.less +3 -3
- package/es/assets/styles/resetAntd.less +564 -564
- package/es/assets/styles/variable.less +21 -21
- package/es/attrCondition/styles/index.less +101 -101
- package/es/attrCondition/useAttrCondition.js +4 -1
- package/es/attrConditions/styles/group.less +49 -49
- package/es/attrConditions/styles/index.less +151 -151
- package/es/attrConditions/types.d.ts +1 -0
- package/es/attributeSelector/listPanel.js +1 -1
- package/es/attributeSelector/styles/index.less +141 -141
- package/es/attributeSelector/types.d.ts +1 -0
- package/es/attributeSelector/util.js +3 -0
- package/es/chart/styles/index.less +113 -113
- package/es/chart/util/data/china.js +17 -17
- package/es/cycleTime/styles/index.less +24 -24
- package/es/cycleTime/styles/month.less +95 -95
- package/es/dataSetGroup/styles/index.less +146 -146
- package/es/datePicker/styles/index.less +53 -53
- package/es/datePickerV2/styles/index.less +194 -194
- package/es/demoWrapper/index.less +3 -3
- package/es/dialog/styles/index.less +22 -22
- package/es/dnd/demo/styles/index.less +34 -34
- package/es/dnd/styles/index.less +19 -19
- package/es/eventSelector/listPanel.js +1 -1
- package/es/eventSelector/styles/index.less +123 -123
- package/es/formulaTarget/components/formula/index.less +76 -76
- package/es/formulaTarget/components/panel/index.less +139 -139
- package/es/formulaTarget/components/symbol/index.less +49 -49
- package/es/formulaTarget/styles/index.less +74 -74
- package/es/hooks/types/subject.d.ts +14 -14
- package/es/icon/demo/list.less +32 -32
- package/es/layout/analysisLayout/demo/index.less +12 -12
- package/es/layout/analysisLayout/index.less +118 -118
- package/es/layout/columnLayout/demo/index.less +15 -15
- package/es/layout/columnLayout/index.less +81 -81
- package/es/layout/detail/index.less +27 -27
- package/es/layout/optionTitle/components/btnMenu/index.less +18 -18
- package/es/layout/optionTitle/components/changePanelModal/styles/index.less +92 -92
- package/es/layout/optionTitle/components/title/index.less +43 -43
- package/es/layout/optionTitle/demo/index.less +12 -12
- package/es/layout/optionTitle/styles/index.less +30 -30
- package/es/layout/optionTitle/styles/layout.less +90 -90
- package/es/layout/optionTitle/styles/search.less +27 -27
- package/es/loading/styles/index.less +20 -20
- package/es/loginForm/index.less +7 -7
- package/es/platformSelector/styles/index.less +26 -26
- package/es/productCondition/conditions/styles/cdpCondition.less +31 -31
- package/es/productCondition/conditions/styles/cdpCshCondition.less +41 -41
- package/es/productCondition/conditions/styles/eventCondition.less +51 -51
- package/es/productCondition/conditions/styles/periodCondition.less +26 -26
- package/es/productCondition/conditions/styles/propCondition.less +43 -43
- package/es/productCondition/conditions/styles/runTimesCondition.less +19 -19
- package/es/productCondition/conditions/styles/tagsCondition.less +20 -20
- package/es/productCondition/conditions/styles/textDesc.less +17 -17
- package/es/productCondition/styles/conditionTypeList.less +30 -30
- package/es/productCondition/styles/conditionWrap.less +18 -18
- package/es/productCondition/styles/index.less +33 -33
- package/es/productCondition/styles/orConditions.less +34 -34
- package/es/productCondition/styles/relationLabel.less +19 -19
- package/es/quickDatePicker/styles/index.less +138 -138
- package/es/select/styles/handle.less +193 -193
- package/es/select/styles/index.less +129 -129
- package/es/socket/demo/index.less +27 -27
- package/es/subjectWrapper/index.less +12 -12
- package/es/table/styles/index.less +5 -5
- package/es/targetConditionGroup/demo/styles/index.less +29 -29
- package/es/targetConditionGroup/index.js +6 -6
- package/es/targetConditionGroup/styles/index.less +53 -53
- package/es/targetSelector/styles/index.less +110 -110
- package/es/userCondition/conditions/styles/cdpCondition.less +37 -37
- package/es/userCondition/conditions/styles/cdpCshCondition.less +47 -47
- package/es/userCondition/conditions/styles/eventCondition.less +57 -57
- package/es/userCondition/conditions/styles/periodCondition.less +26 -26
- package/es/userCondition/conditions/styles/propCondition.less +43 -43
- package/es/userCondition/conditions/styles/runTimesCondition.less +19 -19
- package/es/userCondition/conditions/styles/tagsCondition.less +20 -20
- package/es/userCondition/conditions/styles/textDesc.less +17 -17
- package/es/userCondition/styles/conditionTypeList.less +30 -30
- package/es/userCondition/styles/conditionWrap.less +18 -18
- package/es/userCondition/styles/index.less +33 -33
- package/es/userCondition/styles/orConditions.less +34 -34
- package/es/userCondition/styles/relationLabel.less +19 -19
- package/es/userGroup/styles/index.less +145 -145
- package/es/userGroupHeader/styles/index.less +31 -31
- package/es/userTagsSelector/components/search/index.less +6 -6
- package/es/userTagsSelector/components/tagList/index.less +13 -13
- package/es/userTagsSelector/groups/styles/option.less +55 -55
- package/es/userTagsSelector/multipleCheckPanel/styles/option.less +40 -40
- package/es/userTagsSelector/styles/cascaderOverlay.less +34 -34
- package/es/userTagsSelector/styles/index.less +10 -10
- package/es/utils/ajax.js +15 -2
- package/es/utils/type.d.ts +1 -0
- package/package.json +2 -2
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
@import '../../assets/styles/inner.less';
|
|
2
|
-
.biz-user-group-header {
|
|
3
|
-
background: #fff;
|
|
4
|
-
&-title {
|
|
5
|
-
height: 20px;
|
|
6
|
-
margin-bottom: @margin-xs;
|
|
7
|
-
padding-left: @padding-lg;
|
|
8
|
-
color: @text-color-secondary;
|
|
9
|
-
font-weight: 500;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
&-add {
|
|
13
|
-
color: @primary-color;
|
|
14
|
-
font-size: 20px !important;
|
|
15
|
-
cursor: pointer;
|
|
16
|
-
&.disabled {
|
|
17
|
-
display: none;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
.biz-user {
|
|
21
|
-
width: 208px;
|
|
22
|
-
}
|
|
23
|
-
&-container {
|
|
24
|
-
width: 100%;
|
|
25
|
-
padding: @padding-xss @padding-lg;
|
|
26
|
-
|
|
27
|
-
&:hover {
|
|
28
|
-
background: #e8efff;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
1
|
+
@import '../../assets/styles/inner.less';
|
|
2
|
+
.biz-user-group-header {
|
|
3
|
+
background: #fff;
|
|
4
|
+
&-title {
|
|
5
|
+
height: 20px;
|
|
6
|
+
margin-bottom: @margin-xs;
|
|
7
|
+
padding-left: @padding-lg;
|
|
8
|
+
color: @text-color-secondary;
|
|
9
|
+
font-weight: 500;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
&-add {
|
|
13
|
+
color: @primary-color;
|
|
14
|
+
font-size: 20px !important;
|
|
15
|
+
cursor: pointer;
|
|
16
|
+
&.disabled {
|
|
17
|
+
display: none;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
.biz-user {
|
|
21
|
+
width: 208px;
|
|
22
|
+
}
|
|
23
|
+
&-container {
|
|
24
|
+
width: 100%;
|
|
25
|
+
padding: @padding-xss @padding-lg;
|
|
26
|
+
|
|
27
|
+
&:hover {
|
|
28
|
+
background: #e8efff;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
@import '../../../assets/styles/variable.less';
|
|
2
|
-
.biz-user-tags-selector {
|
|
3
|
-
&-drop-panel-search {
|
|
4
|
-
margin-bottom: @margin-xs;
|
|
5
|
-
}
|
|
6
|
-
}
|
|
1
|
+
@import '../../../assets/styles/variable.less';
|
|
2
|
+
.biz-user-tags-selector {
|
|
3
|
+
&-drop-panel-search {
|
|
4
|
+
margin-bottom: @margin-xs;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
@import '../../../assets/styles/variable.less';
|
|
2
|
-
.biz-user-tags-selector {
|
|
3
|
-
&-list-container {
|
|
4
|
-
max-height: 360px;
|
|
5
|
-
overflow: auto;
|
|
6
|
-
}
|
|
7
|
-
&-list-container-loading {
|
|
8
|
-
display: flex;
|
|
9
|
-
align-items: center;
|
|
10
|
-
justify-content: center;
|
|
11
|
-
height: 40px;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
1
|
+
@import '../../../assets/styles/variable.less';
|
|
2
|
+
.biz-user-tags-selector {
|
|
3
|
+
&-list-container {
|
|
4
|
+
max-height: 360px;
|
|
5
|
+
overflow: auto;
|
|
6
|
+
}
|
|
7
|
+
&-list-container-loading {
|
|
8
|
+
display: flex;
|
|
9
|
+
align-items: center;
|
|
10
|
+
justify-content: center;
|
|
11
|
+
height: 40px;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
@import '../../../assets/styles/inner.less';
|
|
2
|
-
.biz-user-tags-selector {
|
|
3
|
-
&-group-option {
|
|
4
|
-
display: flex;
|
|
5
|
-
align-items: center;
|
|
6
|
-
justify-content: space-between;
|
|
7
|
-
height: @height-base;
|
|
8
|
-
padding: 0 16px;
|
|
9
|
-
border-radius: @border-radius-normal;
|
|
10
|
-
|
|
11
|
-
cursor: pointer;
|
|
12
|
-
&-label {
|
|
13
|
-
.__default-overflow();
|
|
14
|
-
margin-right: @margin-xs;
|
|
15
|
-
}
|
|
16
|
-
&-count {
|
|
17
|
-
.ant-badge-count {
|
|
18
|
-
color: @text-color;
|
|
19
|
-
background: none;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
&.checked {
|
|
23
|
-
color: @primary-color;
|
|
24
|
-
.biz-user-tags-selector-group-option-count {
|
|
25
|
-
.ant-badge-count {
|
|
26
|
-
color: @primary-color;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
&:hover {
|
|
31
|
-
.__default-hover();
|
|
32
|
-
.biz-user-tags-selector-group-option-count {
|
|
33
|
-
.ant-badge-count {
|
|
34
|
-
color: #fff;
|
|
35
|
-
background: @primary-color;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
&.active {
|
|
40
|
-
color: #fff !important;
|
|
41
|
-
background: @primary-color;
|
|
42
|
-
.biz-user-tags-selector-group-option-count {
|
|
43
|
-
.ant-badge-count {
|
|
44
|
-
color: #fff;
|
|
45
|
-
background: @primary-color;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
.biz-user-tags-selector-group-option-label {
|
|
49
|
-
* {
|
|
50
|
-
color: #fff !important;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
1
|
+
@import '../../../assets/styles/inner.less';
|
|
2
|
+
.biz-user-tags-selector {
|
|
3
|
+
&-group-option {
|
|
4
|
+
display: flex;
|
|
5
|
+
align-items: center;
|
|
6
|
+
justify-content: space-between;
|
|
7
|
+
height: @height-base;
|
|
8
|
+
padding: 0 16px;
|
|
9
|
+
border-radius: @border-radius-normal;
|
|
10
|
+
|
|
11
|
+
cursor: pointer;
|
|
12
|
+
&-label {
|
|
13
|
+
.__default-overflow();
|
|
14
|
+
margin-right: @margin-xs;
|
|
15
|
+
}
|
|
16
|
+
&-count {
|
|
17
|
+
.ant-badge-count {
|
|
18
|
+
color: @text-color;
|
|
19
|
+
background: none;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
&.checked {
|
|
23
|
+
color: @primary-color;
|
|
24
|
+
.biz-user-tags-selector-group-option-count {
|
|
25
|
+
.ant-badge-count {
|
|
26
|
+
color: @primary-color;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
&:hover {
|
|
31
|
+
.__default-hover();
|
|
32
|
+
.biz-user-tags-selector-group-option-count {
|
|
33
|
+
.ant-badge-count {
|
|
34
|
+
color: #fff;
|
|
35
|
+
background: @primary-color;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
&.active {
|
|
40
|
+
color: #fff !important;
|
|
41
|
+
background: @primary-color;
|
|
42
|
+
.biz-user-tags-selector-group-option-count {
|
|
43
|
+
.ant-badge-count {
|
|
44
|
+
color: #fff;
|
|
45
|
+
background: @primary-color;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
.biz-user-tags-selector-group-option-label {
|
|
49
|
+
* {
|
|
50
|
+
color: #fff !important;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
@import '../../../assets/styles/inner.less';
|
|
2
|
-
.biz-user-tags-selector {
|
|
3
|
-
&-check-option {
|
|
4
|
-
display: flex;
|
|
5
|
-
align-items: center;
|
|
6
|
-
height: @height-base;
|
|
7
|
-
padding: 0 12px;
|
|
8
|
-
border-radius: @border-radius-normal;
|
|
9
|
-
&:hover {
|
|
10
|
-
.__default-hover();
|
|
11
|
-
}
|
|
12
|
-
&-label {
|
|
13
|
-
flex: 1;
|
|
14
|
-
min-width: 0;
|
|
15
|
-
height: @height-base;
|
|
16
|
-
line-height: @height-base;
|
|
17
|
-
.__default-overflow();
|
|
18
|
-
}
|
|
19
|
-
&&-disabled {
|
|
20
|
-
.__default-disabled();
|
|
21
|
-
}
|
|
22
|
-
.ant-checkbox-wrapper {
|
|
23
|
-
width: 100%;
|
|
24
|
-
min-width: 0;
|
|
25
|
-
> span {
|
|
26
|
-
&:not(.ant-checkbox) {
|
|
27
|
-
flex: 1;
|
|
28
|
-
min-width: 0;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
.ant-checkbox-checked {
|
|
32
|
-
& + span {
|
|
33
|
-
.biz-user-tags-selector-check-option-label {
|
|
34
|
-
color: @primary-color;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
1
|
+
@import '../../../assets/styles/inner.less';
|
|
2
|
+
.biz-user-tags-selector {
|
|
3
|
+
&-check-option {
|
|
4
|
+
display: flex;
|
|
5
|
+
align-items: center;
|
|
6
|
+
height: @height-base;
|
|
7
|
+
padding: 0 12px;
|
|
8
|
+
border-radius: @border-radius-normal;
|
|
9
|
+
&:hover {
|
|
10
|
+
.__default-hover();
|
|
11
|
+
}
|
|
12
|
+
&-label {
|
|
13
|
+
flex: 1;
|
|
14
|
+
min-width: 0;
|
|
15
|
+
height: @height-base;
|
|
16
|
+
line-height: @height-base;
|
|
17
|
+
.__default-overflow();
|
|
18
|
+
}
|
|
19
|
+
&&-disabled {
|
|
20
|
+
.__default-disabled();
|
|
21
|
+
}
|
|
22
|
+
.ant-checkbox-wrapper {
|
|
23
|
+
width: 100%;
|
|
24
|
+
min-width: 0;
|
|
25
|
+
> span {
|
|
26
|
+
&:not(.ant-checkbox) {
|
|
27
|
+
flex: 1;
|
|
28
|
+
min-width: 0;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
.ant-checkbox-checked {
|
|
32
|
+
& + span {
|
|
33
|
+
.biz-user-tags-selector-check-option-label {
|
|
34
|
+
color: @primary-color;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
@import '../../assets/styles/inner.less';
|
|
2
|
-
.biz-user-tags-selector {
|
|
3
|
-
&-overlay {
|
|
4
|
-
max-height: 425px;
|
|
5
|
-
background-color: #fff;
|
|
6
|
-
border-radius: @border-radius-normal;
|
|
7
|
-
box-shadow: @box-shadow-base;
|
|
8
|
-
&-search {
|
|
9
|
-
padding: @margin-xs @margin-xs 0;
|
|
10
|
-
}
|
|
11
|
-
&-panel {
|
|
12
|
-
display: flex;
|
|
13
|
-
}
|
|
14
|
-
&-groups {
|
|
15
|
-
width: 204px;
|
|
16
|
-
padding: @margin-xs;
|
|
17
|
-
border-right: 1px solid @border-color-base;
|
|
18
|
-
&:last-of-type {
|
|
19
|
-
border-right: none;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
&-selections {
|
|
23
|
-
width: 204px;
|
|
24
|
-
min-width: 0;
|
|
25
|
-
padding: @padding-xs;
|
|
26
|
-
}
|
|
27
|
-
// .rc-virtual-list-scrollbar {
|
|
28
|
-
// display: block !important;
|
|
29
|
-
// }
|
|
30
|
-
// .rc-virtual-list-scrollbar-thumb {
|
|
31
|
-
// background-color: #cacdd4 !important;
|
|
32
|
-
// }
|
|
33
|
-
}
|
|
34
|
-
}
|
|
1
|
+
@import '../../assets/styles/inner.less';
|
|
2
|
+
.biz-user-tags-selector {
|
|
3
|
+
&-overlay {
|
|
4
|
+
max-height: 425px;
|
|
5
|
+
background-color: #fff;
|
|
6
|
+
border-radius: @border-radius-normal;
|
|
7
|
+
box-shadow: @box-shadow-base;
|
|
8
|
+
&-search {
|
|
9
|
+
padding: @margin-xs @margin-xs 0;
|
|
10
|
+
}
|
|
11
|
+
&-panel {
|
|
12
|
+
display: flex;
|
|
13
|
+
}
|
|
14
|
+
&-groups {
|
|
15
|
+
width: 204px;
|
|
16
|
+
padding: @margin-xs;
|
|
17
|
+
border-right: 1px solid @border-color-base;
|
|
18
|
+
&:last-of-type {
|
|
19
|
+
border-right: none;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
&-selections {
|
|
23
|
+
width: 204px;
|
|
24
|
+
min-width: 0;
|
|
25
|
+
padding: @padding-xs;
|
|
26
|
+
}
|
|
27
|
+
// .rc-virtual-list-scrollbar {
|
|
28
|
+
// display: block !important;
|
|
29
|
+
// }
|
|
30
|
+
// .rc-virtual-list-scrollbar-thumb {
|
|
31
|
+
// background-color: #cacdd4 !important;
|
|
32
|
+
// }
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
@import '../../assets/styles/inner.less';
|
|
2
|
-
.biz-user-tags-selector {
|
|
3
|
-
> .ant-dropdown-trigger.biz-user-tags-selector-handle {
|
|
4
|
-
> .biz-select-handle-input-multiple {
|
|
5
|
-
.ant-input.biz-select-handle-search {
|
|
6
|
-
height: auto !important;
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
}
|
|
1
|
+
@import '../../assets/styles/inner.less';
|
|
2
|
+
.biz-user-tags-selector {
|
|
3
|
+
> .ant-dropdown-trigger.biz-user-tags-selector-handle {
|
|
4
|
+
> .biz-select-handle-input-multiple {
|
|
5
|
+
.ant-input.biz-select-handle-search {
|
|
6
|
+
height: auto !important;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
}
|
package/es/utils/ajax.js
CHANGED
|
@@ -63,6 +63,19 @@ var downloadFile = function downloadFile(resData, name) {
|
|
|
63
63
|
a.click();
|
|
64
64
|
return null;
|
|
65
65
|
};
|
|
66
|
+
var downloadFile1 = function downloadFile1(resData, name) {
|
|
67
|
+
var blob = resData.data;
|
|
68
|
+
var fileName = resData.response.headers.get('Filename') || util.guid();
|
|
69
|
+
if (name) {
|
|
70
|
+
fileName = "".concat(name);
|
|
71
|
+
}
|
|
72
|
+
var href = URL.createObjectURL(blob);
|
|
73
|
+
var a = document.createElement('a');
|
|
74
|
+
a.href = href;
|
|
75
|
+
a.download = fileName;
|
|
76
|
+
a.click();
|
|
77
|
+
return null;
|
|
78
|
+
};
|
|
66
79
|
export function responseErrorHandler(url, apiResult, errorTitle, notifyType, intercept) {
|
|
67
80
|
if (/\.jsp/.test(url)) {
|
|
68
81
|
return apiResult;
|
|
@@ -106,7 +119,7 @@ function request(_x, _x2) {
|
|
|
106
119
|
}
|
|
107
120
|
function _request() {
|
|
108
121
|
_request = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(url, options) {
|
|
109
|
-
var _globalConfig$request, _globalConfig$request2, _params$options, _params$options2, err, option, list, optionsWrapper, responseWrapper, params, res, _params$options3;
|
|
122
|
+
var _globalConfig$request, _globalConfig$request2, _params$options, _params$options2, err, option, list, optionsWrapper, responseWrapper, params, res, _params$options3, _params$options4;
|
|
110
123
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
111
124
|
while (1) switch (_context.prev = _context.next) {
|
|
112
125
|
case 0:
|
|
@@ -163,7 +176,7 @@ function _request() {
|
|
|
163
176
|
}
|
|
164
177
|
return _context.abrupt("return", res.data);
|
|
165
178
|
case 23:
|
|
166
|
-
return _context.abrupt("return", downloadFile(res, params.options.fileName));
|
|
179
|
+
return _context.abrupt("return", ((_params$options4 = params.options) === null || _params$options4 === void 0 ? void 0 : _params$options4.isExcel) ? downloadFile1(res, params.options.fileName) : downloadFile(res, params.options.fileName));
|
|
167
180
|
case 24:
|
|
168
181
|
_context.next = 27;
|
|
169
182
|
break;
|
package/es/utils/type.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zgfe/business-lib",
|
|
3
|
-
"version": "1.2.70-hxd.
|
|
3
|
+
"version": "1.2.70-hxd.11",
|
|
4
4
|
"module": "es/index.js",
|
|
5
5
|
"typings": "es/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"react": "^16.12.0 || ^17.0.0",
|
|
56
56
|
"yorkie": "^2.0.0"
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "da2cf0aa9f31ff0657e59ceb0f6eff8123208853",
|
|
59
59
|
"gitHooks": {
|
|
60
60
|
"pre-commit": "lint-staged"
|
|
61
61
|
}
|