@zat-design/sisyphus-react 3.2.1 → 3.2.2-beta.2
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/dist/index.esm.css +66 -35
- package/es/ProDownload/utils.js +0 -2
- package/es/ProDrawerForm/style/index.less +59 -59
- package/es/ProEditTable/components/RenderField/index.js +66 -21
- package/es/ProEditTable/index.js +11 -4
- package/es/ProEditTable/propsType.d.ts +11 -1
- package/es/ProForm/components/base/Checkbox/index.d.ts +1 -0
- package/es/ProForm/components/base/Checkbox/index.js +5 -3
- package/es/ProForm/components/base/DatePicker/index.js +3 -2
- package/es/ProForm/components/base/Input/index.js +4 -2
- package/es/ProForm/components/base/Input/propsType.d.ts +1 -0
- package/es/ProForm/components/base/InputNumber/index.d.ts +1 -0
- package/es/ProForm/components/base/InputNumber/index.js +5 -3
- package/es/ProForm/components/base/ProCascader/index.js +6 -6
- package/es/ProForm/components/base/Radio/index.d.ts +1 -0
- package/es/ProForm/components/base/Radio/index.js +4 -2
- package/es/ProForm/components/base/RangePicker/index.d.ts +1 -0
- package/es/ProForm/components/base/RangePicker/index.js +5 -3
- package/es/ProForm/components/base/Select/index.d.ts +1 -0
- package/es/ProForm/components/base/Select/index.js +4 -2
- package/es/ProForm/components/base/Switch/index.d.ts +1 -0
- package/es/ProForm/components/base/Switch/index.js +4 -2
- package/es/ProForm/components/base/SwitchCheckbox/index.d.ts +1 -0
- package/es/ProForm/components/base/SwitchCheckbox/index.js +4 -2
- package/es/ProForm/components/base/TextArea/index.d.ts +1 -0
- package/es/ProForm/components/base/TextArea/index.js +4 -3
- package/es/ProForm/components/base/TimePicker/index.d.ts +1 -0
- package/es/ProForm/components/base/TimePicker/index.js +4 -2
- package/es/ProForm/components/combination/Container/index.js +7 -5
- package/es/ProForm/components/combination/FormList/index.js +6 -5
- package/es/ProForm/components/combination/FormList/style/index.less +15 -22
- package/es/ProForm/components/combination/Group/index.js +6 -3
- package/es/ProForm/components/combination/ProAddressBar/index.js +29 -30
- package/es/ProForm/components/combination/ProCombination/index.js +11 -11
- package/es/ProForm/components/combination/ProModalSelect/index.js +4 -5
- package/es/ProForm/components/combination/ProModalSelect/style/index.less +1 -1
- package/es/ProForm/components/combination/ProNumberRange/index.d.ts +1 -1
- package/es/ProForm/components/combination/ProNumberRange/index.js +7 -7
- package/es/ProForm/components/combination/ProRangeLimit/index.d.ts +1 -0
- package/es/ProForm/components/combination/ProRangeLimit/index.js +4 -2
- package/es/ProForm/components/combination/ProTimeLimit/index.d.ts +1 -0
- package/es/ProForm/components/combination/ProTimeLimit/index.js +4 -2
- package/es/ProForm/components/render/Render.js +54 -20
- package/es/ProForm/components/render/RenderFields.d.ts +1 -0
- package/es/ProForm/components/render/RenderFields.js +13 -12
- package/es/ProForm/index.js +5 -2
- package/es/ProForm/propsType.d.ts +1 -0
- package/es/ProForm/style/index.less +49 -42
- package/es/ProForm/utils/contrastOriginal.d.ts +10 -1
- package/es/ProForm/utils/contrastOriginal.js +15 -18
- package/es/ProForm/utils/useChanged.d.ts +15 -1
- package/es/ProForm/utils/useChanged.js +27 -8
- package/es/ProLayout/components/ProFooter/style/index.less +8 -7
- package/es/ProLayout/components/ProHeader/index.js +1 -0
- package/es/ProLayout/components/ProHeader/style/index.less +7 -0
- package/es/ProSelect/index.js +6 -3
- package/es/ProStep/components/Item/index.js +1 -4
- package/es/ProTable/components/RenderColumn/index.js +1 -1
- package/es/ProTable/style/index.less +6 -0
- package/es/ProTabs/style/index.less +16 -17
- package/es/ProThemeTools/component/PrdTools/index.js +21 -20
- package/es/ProThemeTools/index.js +2 -1
- package/es/ProTree/components/Tree.js +43 -42
- package/es/ProTree/style/index.less +0 -6
- package/es/ProTreeModal/index.js +14 -3
- package/es/ProTreeSelect/index.js +3 -2
- package/es/locale/en_US.d.ts +15 -1
- package/es/locale/en_US.js +17 -3
- package/es/locale/zh_CN.d.ts +15 -1
- package/es/locale/zh_CN.js +15 -1
- package/es/style/theme/antd.less +129 -117
- package/lib/ProDrawerForm/style/index.less +59 -59
- package/lib/ProEditTable/components/RenderField/index.js +61 -22
- package/lib/ProEditTable/index.js +12 -4
- package/lib/ProEditTable/propsType.d.ts +11 -1
- package/lib/ProForm/components/base/Checkbox/index.d.ts +1 -0
- package/lib/ProForm/components/base/Checkbox/index.js +5 -3
- package/lib/ProForm/components/base/DatePicker/index.js +3 -2
- package/lib/ProForm/components/base/Input/index.js +4 -2
- package/lib/ProForm/components/base/Input/propsType.d.ts +1 -0
- package/lib/ProForm/components/base/InputNumber/index.d.ts +1 -0
- package/lib/ProForm/components/base/InputNumber/index.js +5 -3
- package/lib/ProForm/components/base/ProCascader/index.js +6 -6
- package/lib/ProForm/components/base/Radio/index.d.ts +1 -0
- package/lib/ProForm/components/base/Radio/index.js +4 -2
- package/lib/ProForm/components/base/RangePicker/index.d.ts +1 -0
- package/lib/ProForm/components/base/RangePicker/index.js +6 -4
- package/lib/ProForm/components/base/Select/index.d.ts +1 -0
- package/lib/ProForm/components/base/Select/index.js +4 -2
- package/lib/ProForm/components/base/Switch/index.d.ts +1 -0
- package/lib/ProForm/components/base/Switch/index.js +4 -2
- package/lib/ProForm/components/base/SwitchCheckbox/index.d.ts +1 -0
- package/lib/ProForm/components/base/SwitchCheckbox/index.js +4 -2
- package/lib/ProForm/components/base/TextArea/index.d.ts +1 -0
- package/lib/ProForm/components/base/TextArea/index.js +4 -3
- package/lib/ProForm/components/base/TimePicker/index.d.ts +1 -0
- package/lib/ProForm/components/base/TimePicker/index.js +4 -2
- package/lib/ProForm/components/combination/Container/index.js +7 -5
- package/lib/ProForm/components/combination/FormList/index.js +6 -5
- package/lib/ProForm/components/combination/FormList/style/index.less +15 -22
- package/lib/ProForm/components/combination/Group/index.js +6 -3
- package/lib/ProForm/components/combination/ProAddressBar/index.js +29 -30
- package/lib/ProForm/components/combination/ProCombination/index.js +11 -11
- package/lib/ProForm/components/combination/ProModalSelect/index.js +4 -5
- package/lib/ProForm/components/combination/ProModalSelect/style/index.less +1 -1
- package/lib/ProForm/components/combination/ProNumberRange/index.d.ts +1 -1
- package/lib/ProForm/components/combination/ProNumberRange/index.js +7 -7
- package/lib/ProForm/components/combination/ProRangeLimit/index.d.ts +1 -0
- package/lib/ProForm/components/combination/ProRangeLimit/index.js +4 -2
- package/lib/ProForm/components/combination/ProTimeLimit/index.d.ts +1 -0
- package/lib/ProForm/components/combination/ProTimeLimit/index.js +4 -2
- package/lib/ProForm/components/old/InputRange/index.js +1 -0
- package/lib/ProForm/components/old/ProCertValidity/index.js +1 -1
- package/lib/ProForm/components/render/Render.js +53 -22
- package/lib/ProForm/components/render/RenderFields.d.ts +1 -0
- package/lib/ProForm/components/render/RenderFields.js +13 -12
- package/lib/ProForm/index.js +5 -2
- package/lib/ProForm/propsType.d.ts +1 -0
- package/lib/ProForm/style/index.less +49 -42
- package/lib/ProForm/utils/contrastOriginal.d.ts +10 -1
- package/lib/ProForm/utils/contrastOriginal.js +14 -17
- package/lib/ProForm/utils/useChanged.d.ts +15 -1
- package/lib/ProForm/utils/useChanged.js +27 -8
- package/lib/ProLayout/components/ProFooter/style/index.less +8 -7
- package/lib/ProLayout/components/ProHeader/index.js +1 -0
- package/lib/ProLayout/components/ProHeader/style/index.less +7 -0
- package/lib/ProSelect/index.js +6 -3
- package/lib/ProStep/components/Item/index.js +1 -4
- package/lib/ProTable/components/RenderColumn/index.js +1 -1
- package/lib/ProTable/components/TableResizable/index.js +0 -8
- package/lib/ProTable/style/index.less +6 -0
- package/lib/ProTabs/index.js +0 -1
- package/lib/ProTabs/style/index.less +16 -17
- package/lib/ProThemeTools/component/PrdTools/index.js +21 -20
- package/lib/ProThemeTools/index.js +2 -2
- package/lib/ProTree/components/Tree.js +42 -48
- package/lib/ProTree/index.js +1 -0
- package/lib/ProTree/style/index.less +0 -6
- package/lib/ProTreeModal/components/Tree.js +0 -1
- package/lib/ProTreeModal/index.js +14 -3
- package/lib/ProTreeSelect/index.js +3 -2
- package/lib/ProUpload/index.js +0 -7
- package/lib/locale/en_US.d.ts +15 -1
- package/lib/locale/en_US.js +17 -3
- package/lib/locale/zh_CN.d.ts +15 -1
- package/lib/locale/zh_CN.js +15 -1
- package/lib/old/ProCertValidity/index.js +1 -1
- package/lib/style/theme/antd.less +129 -117
- package/package.json +1 -1
package/dist/index.esm.css
CHANGED
|
@@ -789,14 +789,14 @@
|
|
|
789
789
|
}
|
|
790
790
|
.pro-footer {
|
|
791
791
|
position: fixed;
|
|
792
|
-
bottom: 0;
|
|
793
792
|
right: 0;
|
|
793
|
+
bottom: 0;
|
|
794
|
+
z-index: 101;
|
|
794
795
|
width: 100%;
|
|
795
|
-
padding: var(--zaui-space-size-md, 16px) var(--zaui-space-size-lg, 32px);
|
|
796
|
+
padding: calc(var(--zaui-space-size-md, 16px) * var(--zaui-size, 1)) var(--zaui-space-size-lg, 32px);
|
|
796
797
|
background: var(--zaui-base-bg, #ffffff);
|
|
797
798
|
-webkit-box-shadow: 3px 2px 12px 0 hsla(0, 0%, 59.2%, 0.32);
|
|
798
799
|
box-shadow: 3px 2px 12px 0 hsla(0, 0%, 59.2%, 0.32);
|
|
799
|
-
z-index: 101;
|
|
800
800
|
}
|
|
801
801
|
.back-button-container.ant-btn {
|
|
802
802
|
color: var(--zaui-text);
|
|
@@ -819,6 +819,9 @@
|
|
|
819
819
|
background-color: var(--zaui-base-bg, #ffffff);
|
|
820
820
|
padding: 24px 0 0 0;
|
|
821
821
|
}
|
|
822
|
+
.pro-header.pro-header-no-back.pro-header-has-describe .pro-header-top {
|
|
823
|
+
padding-left: var(--zaui-space-size-md, 16px);
|
|
824
|
+
}
|
|
822
825
|
.pro-header.pro-header-no-back .pro-header-top {
|
|
823
826
|
padding-left: 0;
|
|
824
827
|
}
|
|
@@ -905,6 +908,10 @@
|
|
|
905
908
|
}
|
|
906
909
|
.pro-header .ant-breadcrumb .ant-breadcrumb-link {
|
|
907
910
|
font-size: var(--zaui-font-size-xl, 18px);
|
|
911
|
+
display: -webkit-inline-box;
|
|
912
|
+
display: -webkit-inline-flex;
|
|
913
|
+
display: -ms-inline-flexbox;
|
|
914
|
+
display: inline-flex;
|
|
908
915
|
}
|
|
909
916
|
.pro-header .ant-breadcrumb .ant-breadcrumb-separator {
|
|
910
917
|
font-weight: 500;
|
|
@@ -1509,7 +1516,7 @@
|
|
|
1509
1516
|
width: 48px;
|
|
1510
1517
|
}
|
|
1511
1518
|
.pro-tabs .ant-tabs .ant-tabs-nav-list .ant-tabs-tab {
|
|
1512
|
-
padding: 0;
|
|
1519
|
+
padding: 0 !important;
|
|
1513
1520
|
}
|
|
1514
1521
|
.pro-tabs .ant-tabs-top > .ant-tabs-nav::before,
|
|
1515
1522
|
.pro-tabs .ant-tabs-bottom > .ant-tabs-nav::before,
|
|
@@ -1529,7 +1536,7 @@
|
|
|
1529
1536
|
}
|
|
1530
1537
|
.pro-tabs .pro-tabs-card {
|
|
1531
1538
|
width: 200px;
|
|
1532
|
-
padding:
|
|
1539
|
+
padding: calc(9px * var(--zaui-size, 1)) 16px calc(9px * var(--zaui-size, 1)) 24px;
|
|
1533
1540
|
border: 1px solid var(--zaui-line, #dddddd);
|
|
1534
1541
|
border-left: none;
|
|
1535
1542
|
}
|
|
@@ -1538,14 +1545,14 @@
|
|
|
1538
1545
|
text-shadow: none;
|
|
1539
1546
|
}
|
|
1540
1547
|
.pro-tabs .pro-tabs-card .pro-tabs-card-left .pro-tabs-card-left-total {
|
|
1541
|
-
font-size: var(--zaui-font-size-lg-title, 24px);
|
|
1542
|
-
font-weight: 600;
|
|
1543
1548
|
color: var(--zaui-text, #343434);
|
|
1549
|
+
font-weight: 600;
|
|
1550
|
+
font-size: var(--zaui-font-size-lg-title, 24px);
|
|
1544
1551
|
}
|
|
1545
1552
|
.pro-tabs .pro-tabs-card .pro-tabs-card-left .pro-tabs-card-left-label {
|
|
1546
|
-
font-size: var(--zaui-font-size, 14px);
|
|
1547
|
-
font-weight: 400;
|
|
1548
1553
|
color: var(--aui-text, #343434);
|
|
1554
|
+
font-weight: 400;
|
|
1555
|
+
font-size: var(--zaui-font-size, 14px);
|
|
1549
1556
|
}
|
|
1550
1557
|
.pro-tabs .pro-tabs-card .pro-tabs-card-right {
|
|
1551
1558
|
display: -webkit-box;
|
|
@@ -1557,9 +1564,9 @@
|
|
|
1557
1564
|
width: 48px;
|
|
1558
1565
|
}
|
|
1559
1566
|
.pro-tabs-tab .pro-tabs-card .ant-tag {
|
|
1560
|
-
border-radius: 10px;
|
|
1561
|
-
padding: 0 var(--zaui-space-size-xs, 4px);
|
|
1562
1567
|
margin-right: 0;
|
|
1568
|
+
padding: 0 var(--zaui-space-size-xs, 4px);
|
|
1569
|
+
border-radius: 10px;
|
|
1563
1570
|
}
|
|
1564
1571
|
.pro-tabs-tab .pro-tabs-card .ant-space-item {
|
|
1565
1572
|
display: -webkit-box;
|
|
@@ -1618,6 +1625,10 @@
|
|
|
1618
1625
|
.pro-table .custom-column-btn .anticon {
|
|
1619
1626
|
height: 16px;
|
|
1620
1627
|
}
|
|
1628
|
+
.pro-table .ant-table-tbody .ant-table-cell-fix-left,
|
|
1629
|
+
.pro-table .ant-table-tbody .ant-table-cell-fix-right {
|
|
1630
|
+
background: unset !important;
|
|
1631
|
+
}
|
|
1621
1632
|
.pro-table .ant-table-body .ant-table-cell .varied-cell {
|
|
1622
1633
|
margin-left: -8px;
|
|
1623
1634
|
background: var(--zaui-contract-bg, #fffaa1);
|
|
@@ -1926,10 +1937,6 @@ div.pro-textarea-view::after {
|
|
|
1926
1937
|
display: flex;
|
|
1927
1938
|
padding-bottom: 0;
|
|
1928
1939
|
}
|
|
1929
|
-
.pro-form-list.pro-form-list-last .pro-form-list-drag-handle,
|
|
1930
|
-
.pro-form-list.pro-form-list-last .ant-form-item {
|
|
1931
|
-
margin-bottom: 0 !important;
|
|
1932
|
-
}
|
|
1933
1940
|
.pro-form-list .single-delete {
|
|
1934
1941
|
width: 14px !important;
|
|
1935
1942
|
height: 14px !important;
|
|
@@ -1967,6 +1974,7 @@ div.pro-textarea-view::after {
|
|
|
1967
1974
|
}
|
|
1968
1975
|
.pro-form-list-line {
|
|
1969
1976
|
padding: var(--zaui-height-size-md, 16px);
|
|
1977
|
+
padding-bottom: 0;
|
|
1970
1978
|
}
|
|
1971
1979
|
.pro-form-list-line:hover {
|
|
1972
1980
|
background: rgba(0, 0, 0, 0.018);
|
|
@@ -2125,7 +2133,7 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
|
|
|
2125
2133
|
.pro-modal-select .ant-input-group-wrapper:hover .close-icon > span,
|
|
2126
2134
|
.pro-tree-modal .ant-input-group-wrapper:hover .close-icon > span {
|
|
2127
2135
|
position: relative;
|
|
2128
|
-
font-size:
|
|
2136
|
+
font-size: 10px;
|
|
2129
2137
|
border: none;
|
|
2130
2138
|
border-radius: 50%;
|
|
2131
2139
|
}
|
|
@@ -2419,8 +2427,8 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
|
|
|
2419
2427
|
-webkit-align-items: center;
|
|
2420
2428
|
-ms-flex-align: center;
|
|
2421
2429
|
align-items: center;
|
|
2422
|
-
margin-bottom: 0;
|
|
2423
2430
|
height: auto;
|
|
2431
|
+
margin-bottom: 0;
|
|
2424
2432
|
padding-top: 6px;
|
|
2425
2433
|
}
|
|
2426
2434
|
.pro-form.ant-form-vertical .pro-form-custom-footer .ant-space-align-center {
|
|
@@ -2505,13 +2513,23 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
|
|
|
2505
2513
|
.pro-form .ant-form-item.pro-form-item-changed span.ant-input-affix-wrapper,
|
|
2506
2514
|
.pro-form .ant-form-item.pro-form-item-changed .ant-select-selector,
|
|
2507
2515
|
.pro-form .ant-form-item.pro-form-item-changed .ant-picker {
|
|
2508
|
-
background: var(--zaui-contract-bg, #fffaa1);
|
|
2516
|
+
background: var(--zaui-contract-bg, #fffaa1) !important;
|
|
2509
2517
|
}
|
|
2510
2518
|
.pro-form .ant-form-item.pro-form-item-changed span.ant-input-affix-wrapper input,
|
|
2511
2519
|
.pro-form .ant-form-item.pro-form-item-changed .ant-select-selector input,
|
|
2512
2520
|
.pro-form .ant-form-item.pro-form-item-changed .ant-picker input {
|
|
2513
2521
|
background: var(--zaui-contract-bg, #fffaa1);
|
|
2514
2522
|
}
|
|
2523
|
+
.pro-form .ant-form-item.pro-form-item-changed span.ant-input-affix-wrapper .ant-select-selection-placeholder,
|
|
2524
|
+
.pro-form .ant-form-item.pro-form-item-changed .ant-select-selector .ant-select-selection-placeholder,
|
|
2525
|
+
.pro-form .ant-form-item.pro-form-item-changed .ant-picker .ant-select-selection-placeholder {
|
|
2526
|
+
z-index: 9;
|
|
2527
|
+
}
|
|
2528
|
+
.pro-form .ant-form-item.pro-form-item-changed .ant-form-item-control-input-content > span {
|
|
2529
|
+
background: var(--zaui-contract-bg, #fffaa1);
|
|
2530
|
+
padding: 4px 8px;
|
|
2531
|
+
border-radius: 4px;
|
|
2532
|
+
}
|
|
2515
2533
|
.pro-form .ant-form-item .ant-row {
|
|
2516
2534
|
width: 100%;
|
|
2517
2535
|
}
|
|
@@ -3778,7 +3796,7 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
|
|
|
3778
3796
|
fill: var(--zaui-aide-text, #909090);
|
|
3779
3797
|
}
|
|
3780
3798
|
.pro-drawer .pro-drawer-close .close-icon:hover {
|
|
3781
|
-
fill: var(--zaui-brand-active, #
|
|
3799
|
+
fill: var(--zaui-brand-active, #005ad9);
|
|
3782
3800
|
}
|
|
3783
3801
|
.pro-drawer .pro-drawer-close .close-icon > div {
|
|
3784
3802
|
height: 20px;
|
|
@@ -3829,7 +3847,7 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
|
|
|
3829
3847
|
left: 0;
|
|
3830
3848
|
z-index: 101;
|
|
3831
3849
|
width: 100%;
|
|
3832
|
-
padding: var(--zaui-space-size-md, 16px) var(--zaui-space-size-lg, 32px);
|
|
3850
|
+
padding: calc(var(--zaui-space-size-md, 16px) * var(--zaui-size, 1)) var(--zaui-space-size-lg, 32px);
|
|
3833
3851
|
background-color: var(--zaui-global-bg, #fff);
|
|
3834
3852
|
-webkit-box-shadow: 8px 2px 8px 0 var(--zaui-shadow, rgba(56, 56, 56, 0.15));
|
|
3835
3853
|
box-shadow: 8px 2px 8px 0 var(--zaui-shadow, rgba(56, 56, 56, 0.15));
|
|
@@ -3891,10 +3909,10 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
|
|
|
3891
3909
|
z-index: 1;
|
|
3892
3910
|
}
|
|
3893
3911
|
.pro-modal-scrolling .ant-modal-header {
|
|
3894
|
-
-webkit-box-shadow: -12px 14px 14px -18px var(--zaui-shadow, rgba(56, 56, 56, 0.15));
|
|
3895
|
-
box-shadow: -12px 14px 14px -18px var(--zaui-shadow, rgba(56, 56, 56, 0.15));
|
|
3896
3912
|
position: relative;
|
|
3897
3913
|
z-index: 1;
|
|
3914
|
+
-webkit-box-shadow: -12px 14px 14px -18px var(--zaui-shadow, rgba(56, 56, 56, 0.15));
|
|
3915
|
+
box-shadow: -12px 14px 14px -18px var(--zaui-shadow, rgba(56, 56, 56, 0.15));
|
|
3898
3916
|
}
|
|
3899
3917
|
.pro-modal-footer-shadow .ant-modal-footer {
|
|
3900
3918
|
position: relative;
|
|
@@ -4894,11 +4912,11 @@ input[type='button'] {
|
|
|
4894
4912
|
-webkit-flex: 0 0 var(--zaui-form-label-width, 130px);
|
|
4895
4913
|
-ms-flex: 0 0 var(--zaui-form-label-width, 130px);
|
|
4896
4914
|
flex: 0 0 var(--zaui-form-label-width, 130px);
|
|
4915
|
+
padding-right: calc(var(--zaui-space-size-sm, 8px) * var(--zaui-size, 1));
|
|
4897
4916
|
overflow: initial;
|
|
4898
4917
|
line-height: 1;
|
|
4899
|
-
text-align: var(--zaui-form-align, left);
|
|
4900
4918
|
white-space: pre-wrap;
|
|
4901
|
-
|
|
4919
|
+
text-align: var(--zaui-form-align, left);
|
|
4902
4920
|
}
|
|
4903
4921
|
.ant-form .ant-form-item .ant-form-item-label .ant-form-item-required::after,
|
|
4904
4922
|
.ant-drawer .ant-form-item .ant-form-item-label .ant-form-item-required::after,
|
|
@@ -4913,8 +4931,8 @@ input[type='button'] {
|
|
|
4913
4931
|
.ant-form .ant-form-item .ant-form-item-label > label::after,
|
|
4914
4932
|
.ant-drawer .ant-form-item .ant-form-item-label > label::after,
|
|
4915
4933
|
.ant-modal .ant-form-item .ant-form-item-label > label::after {
|
|
4916
|
-
margin: 0;
|
|
4917
4934
|
display: none;
|
|
4935
|
+
margin: 0;
|
|
4918
4936
|
}
|
|
4919
4937
|
.ant-form .ant-form-item .ant-form-item-label .ant-form-item-required::before,
|
|
4920
4938
|
.ant-drawer .ant-form-item .ant-form-item-label .ant-form-item-required::before,
|
|
@@ -4984,6 +5002,9 @@ input[type='button'] {
|
|
|
4984
5002
|
font-size: calc(var(--zaui-font-size, 14px) + var(--zaui-base-font-size, 0px));
|
|
4985
5003
|
color: var(--zaui-text, #464646);
|
|
4986
5004
|
}
|
|
5005
|
+
.ant-table .ant-empty-normal {
|
|
5006
|
+
margin: calc(var(--zaui-space-size-lg, 32px) * var(--zaui-size, 1)) 0;
|
|
5007
|
+
}
|
|
4987
5008
|
.ant-table.pro-table-no-stripe .ant-table-tbody .ant-table-row {
|
|
4988
5009
|
background: #fff !important;
|
|
4989
5010
|
}
|
|
@@ -5047,6 +5068,12 @@ input[type='button'] {
|
|
|
5047
5068
|
.ant-table.ant-table-scroll-horizontal table .ant-table-tbody .ant-table-row:nth-child(even) td {
|
|
5048
5069
|
background: var(--zaui-table-strip-bg, #fafafa);
|
|
5049
5070
|
}
|
|
5071
|
+
.ant-table table .ant-table-thead > tr > th,
|
|
5072
|
+
.ant-table table .ant-table-tbody > tr > td,
|
|
5073
|
+
.ant-table table .ant-table tfoot > tr > th,
|
|
5074
|
+
.ant-table table .ant-table tfoot > tr > td {
|
|
5075
|
+
padding: calc(5px + var(--zaui-size) * 8px) 16px;
|
|
5076
|
+
}
|
|
5050
5077
|
.ant-table.ant-table-scroll-horizontal table .ant-table-thead > tr > th,
|
|
5051
5078
|
.ant-table.ant-table-scroll-horizontal table .ant-table-tbody > tr > td,
|
|
5052
5079
|
.ant-table.ant-table-scroll-horizontal table .ant-table tfoot > tr > th,
|
|
@@ -5078,31 +5105,31 @@ input[type='button'] {
|
|
|
5078
5105
|
.ant-table.ant-table-scroll-horizontal table .ant-table-tbody .ant-table-row:nth-child(even) td,
|
|
5079
5106
|
.ant-table.ant-table-scroll-horizontal table .ant-table-tbody .ant-table-row:nth-child(even) td.ant-table-cell-fix-right,
|
|
5080
5107
|
.ant-table.ant-table-scroll-horizontal table .ant-table-tbody .ant-table-row:nth-child(even) td.ant-table-cell-fix-left {
|
|
5081
|
-
background-color: #fff;
|
|
5108
|
+
background-color: #fff !important;
|
|
5082
5109
|
}
|
|
5083
5110
|
.ant-table.ant-table-scroll-horizontal table .ant-table-tbody .ant-table-row:nth-child(even) td {
|
|
5084
5111
|
background-color: #fff;
|
|
5085
5112
|
}
|
|
5086
5113
|
.ant-table.ant-table-scroll-horizontal table .ant-table-tbody .ant-table-row:nth-child(odd) {
|
|
5087
|
-
background-color: var(--zaui-table-strip-bg, #fafafa);
|
|
5114
|
+
background-color: var(--zaui-table-strip-bg, #fafafa) !important;
|
|
5088
5115
|
}
|
|
5089
5116
|
.ant-table.ant-table-scroll-horizontal table .ant-table-tbody .ant-table-row:nth-child(odd) td {
|
|
5090
|
-
background-color: var(--zaui-table-strip-bg, #fafafa);
|
|
5117
|
+
background-color: var(--zaui-table-strip-bg, #fafafa) !important;
|
|
5091
5118
|
}
|
|
5092
5119
|
.ant-table .ant-table-cell .ant-btn-link {
|
|
5093
|
-
padding: 0;
|
|
5094
5120
|
height: auto;
|
|
5121
|
+
padding: 0;
|
|
5095
5122
|
-webkit-user-select: text;
|
|
5096
5123
|
-moz-user-select: text;
|
|
5097
5124
|
-ms-user-select: text;
|
|
5098
5125
|
user-select: text;
|
|
5099
5126
|
}
|
|
5100
5127
|
.ant-table .ant-table-cell a {
|
|
5128
|
+
color: var(--zaui-brand, #006aff);
|
|
5101
5129
|
-webkit-user-select: text;
|
|
5102
5130
|
-moz-user-select: text;
|
|
5103
5131
|
-ms-user-select: text;
|
|
5104
5132
|
user-select: text;
|
|
5105
|
-
color: var(--zaui-brand, #006aFF);
|
|
5106
5133
|
}
|
|
5107
5134
|
.ant-table.ant-table-fixed-header .ant-table-tbody .ant-table-row:nth-child(even) td {
|
|
5108
5135
|
background: #ffffff !important;
|
|
@@ -5118,13 +5145,13 @@ input[type='button'] {
|
|
|
5118
5145
|
color: var(--zaui-text, #464646);
|
|
5119
5146
|
}
|
|
5120
5147
|
.ant-tabs .ant-tabs-nav-list.ant-tabs-card .ant-tabs-tab {
|
|
5121
|
-
padding: 8px var(--zaui-space-size-md, 16px);
|
|
5122
5148
|
margin-right: 10px;
|
|
5149
|
+
padding: 8px var(--zaui-space-size-md, 16px);
|
|
5123
5150
|
}
|
|
5124
5151
|
.ant-tabs .ant-tabs-nav-list .ant-tabs-tab {
|
|
5125
5152
|
font-size: calc(var(--zaui-font-size, 14px) + var(--zaui-base-font-size, 0px));
|
|
5126
|
-
padding: 12px var(--zaui-space-size-md, 16px);
|
|
5127
5153
|
margin-left: 0;
|
|
5154
|
+
padding: 12px var(--zaui-space-size-md, 16px);
|
|
5128
5155
|
}
|
|
5129
5156
|
.ant-tabs .ant-tabs-nav {
|
|
5130
5157
|
margin-bottom: calc(var(--zaui-space-size-md, 16px) * var(--zaui-size, 1));
|
|
@@ -5132,6 +5159,10 @@ input[type='button'] {
|
|
|
5132
5159
|
.ant-tabs .ant-tabs-nav .ant-tabs-tab-btn {
|
|
5133
5160
|
font-size: var(--zaui-font-size-lg, 16px);
|
|
5134
5161
|
}
|
|
5162
|
+
.ant-tabs.ant-tabs-card .ant-tabs-tab {
|
|
5163
|
+
margin-right: 10px !important;
|
|
5164
|
+
padding: 8px calc(var(--zaui-space-size-md, 16px) * var(--zaui-size, 1)) !important;
|
|
5165
|
+
}
|
|
5135
5166
|
.ant-tabs.ant-tabs-card .ant-tabs-nav .ant-tabs-tab-btn {
|
|
5136
5167
|
font-size: var(--zaui-font-size, 14px);
|
|
5137
5168
|
}
|
|
@@ -5160,7 +5191,7 @@ input[type='button'] {
|
|
|
5160
5191
|
.ant-btn.ant-btn-link[disabled]:hover,
|
|
5161
5192
|
.ant-btn.ant-btn-link[disabled]:focus,
|
|
5162
5193
|
.ant-btn.ant-btn-link[disabled]:active {
|
|
5163
|
-
color: #
|
|
5194
|
+
color: #bcbcbc;
|
|
5164
5195
|
text-shadow: none;
|
|
5165
5196
|
background: none;
|
|
5166
5197
|
border-color: none;
|
|
@@ -5363,10 +5394,10 @@ input[type='button'] {
|
|
|
5363
5394
|
position: absolute;
|
|
5364
5395
|
right: 16px;
|
|
5365
5396
|
bottom: 1px;
|
|
5366
|
-
margin-bottom: 0;
|
|
5367
|
-
background: #fff;
|
|
5368
5397
|
width: calc(100% - 18px);
|
|
5398
|
+
margin-bottom: 0;
|
|
5369
5399
|
text-align: right;
|
|
5400
|
+
background: #fff;
|
|
5370
5401
|
}
|
|
5371
5402
|
.ant-space.ant-space-vertical {
|
|
5372
5403
|
display: -webkit-box;
|
package/es/ProDownload/utils.js
CHANGED
|
@@ -4,8 +4,6 @@ import _message from "antd/es/message";
|
|
|
4
4
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
5
5
|
import _typeof from "@babel/runtime/helpers/esm/typeof";
|
|
6
6
|
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
|
7
|
-
/* eslint-disable no-empty */
|
|
8
|
-
/* eslint-disable prefer-promise-reject-errors */
|
|
9
7
|
import { isFunction, get } from 'lodash';
|
|
10
8
|
import locale from '../locale';
|
|
11
9
|
var stringify = function stringify(data) {
|
|
@@ -1,82 +1,83 @@
|
|
|
1
1
|
.pro-drawer {
|
|
2
2
|
.pro-drawer-close {
|
|
3
|
-
position
|
|
4
|
-
top
|
|
5
|
-
left
|
|
6
|
-
display
|
|
7
|
-
align-items
|
|
3
|
+
position: absolute;
|
|
4
|
+
top: 6px;
|
|
5
|
+
left: -34px;
|
|
6
|
+
display: flex;
|
|
7
|
+
align-items: center;
|
|
8
8
|
justify-content: center;
|
|
9
|
-
width
|
|
10
|
-
height
|
|
11
|
-
color
|
|
12
|
-
cursor
|
|
9
|
+
width: 32px;
|
|
10
|
+
height: 38px;
|
|
11
|
+
color: var(--zaui-global-bg, #fff);
|
|
12
|
+
cursor: pointer;
|
|
13
13
|
|
|
14
14
|
.close-icon {
|
|
15
|
-
position
|
|
16
|
-
left
|
|
17
|
-
z-index
|
|
15
|
+
position: relative;
|
|
16
|
+
left: 2px;
|
|
17
|
+
z-index: 1;
|
|
18
18
|
font-size: var(--zaui-font-size-lg, 16px);
|
|
19
19
|
transform: translateZ(100px);
|
|
20
|
-
fill
|
|
20
|
+
fill: var(--zaui-aide-text, #909090);
|
|
21
21
|
|
|
22
22
|
&:hover {
|
|
23
|
-
fill: var(--zaui-brand-active, #
|
|
23
|
+
fill: var(--zaui-brand-active, #005ad9);
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
>div {
|
|
26
|
+
> div {
|
|
27
27
|
height: 20px;
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
.pro-drawer-close::after {
|
|
33
|
-
position
|
|
34
|
-
top
|
|
35
|
-
right
|
|
36
|
-
bottom
|
|
37
|
-
left
|
|
33
|
+
position: absolute;
|
|
34
|
+
top: 0;
|
|
35
|
+
right: 0;
|
|
36
|
+
bottom: 0;
|
|
37
|
+
left: 0;
|
|
38
38
|
background-color: var(--zaui-global-bg, #fff);
|
|
39
|
-
border-radius
|
|
40
|
-
transform
|
|
41
|
-
content
|
|
39
|
+
border-radius: 4px 0px 0px 4px;
|
|
40
|
+
transform: perspective(0.15em) rotateY(-2deg);
|
|
41
|
+
content: '';
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
.pro-drawer-title {
|
|
45
|
-
position
|
|
46
|
-
top
|
|
47
|
-
left
|
|
48
|
-
width
|
|
49
|
-
height
|
|
50
|
-
padding
|
|
51
|
-
color
|
|
52
|
-
font-weight
|
|
53
|
-
font-size
|
|
45
|
+
position: absolute;
|
|
46
|
+
top: 0;
|
|
47
|
+
left: 0;
|
|
48
|
+
width: 100%;
|
|
49
|
+
height: 64px;
|
|
50
|
+
padding: var(--zaui-space-size-md, 16px) var(--zaui-space-size-lg, 32px);
|
|
51
|
+
color: var(--zaui-text, #343434);
|
|
52
|
+
font-weight: 600;
|
|
53
|
+
font-size: var(--zaui-font-size-xxl, 20px);
|
|
54
54
|
background-color: var(--zaui-global-bg, #fff);
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
.pro-drawer-scrolling {
|
|
58
|
-
z-index
|
|
58
|
+
z-index: 1;
|
|
59
59
|
box-shadow: -12px 14px 14px -18px var(--zaui-shadow, rgba(56, 56, 56, 0.15));
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
.pro-drawer-content {
|
|
63
|
-
flex
|
|
64
|
-
width
|
|
65
|
-
padding
|
|
63
|
+
flex: 1;
|
|
64
|
+
width: 100%;
|
|
65
|
+
padding: var(--zaui-space-size-md, 16px) var(--zaui-space-size-lg, 32px);
|
|
66
66
|
padding-top: 0;
|
|
67
|
-
overflow-x
|
|
68
|
-
overflow-y
|
|
67
|
+
overflow-x: hidden;
|
|
68
|
+
overflow-y: auto;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
.pro-drawer-footer {
|
|
72
|
-
position
|
|
73
|
-
bottom
|
|
74
|
-
left
|
|
75
|
-
z-index
|
|
76
|
-
width
|
|
77
|
-
padding
|
|
72
|
+
position: absolute;
|
|
73
|
+
bottom: 0;
|
|
74
|
+
left: 0;
|
|
75
|
+
z-index: 101;
|
|
76
|
+
width: 100%;
|
|
77
|
+
padding: calc(var(--zaui-space-size-md; 16px) * var(--zaui-size; 1))
|
|
78
|
+
var(--zaui-space-size-lg, 32px);
|
|
78
79
|
background-color: var(--zaui-global-bg, #fff);
|
|
79
|
-
box-shadow
|
|
80
|
+
box-shadow: 8px 2px 8px 0 var(--zaui-shadow, rgba(56, 56, 56, 0.15));
|
|
80
81
|
|
|
81
82
|
button {
|
|
82
83
|
margin-right: var(--zaui-space-size-sm, 8px);
|
|
@@ -88,8 +89,8 @@
|
|
|
88
89
|
}
|
|
89
90
|
|
|
90
91
|
.ant-drawer-body {
|
|
91
|
-
height
|
|
92
|
-
padding
|
|
92
|
+
height: 100vh;
|
|
93
|
+
padding: 0;
|
|
93
94
|
overflow-y: hidden;
|
|
94
95
|
}
|
|
95
96
|
|
|
@@ -116,7 +117,7 @@
|
|
|
116
117
|
}
|
|
117
118
|
|
|
118
119
|
.ant-modal-header {
|
|
119
|
-
padding
|
|
120
|
+
padding: var(--zaui-space-size-md, 16px);
|
|
120
121
|
border-bottom: none;
|
|
121
122
|
|
|
122
123
|
.ant-modal-title {
|
|
@@ -125,30 +126,29 @@
|
|
|
125
126
|
}
|
|
126
127
|
|
|
127
128
|
.ant-modal-footer {
|
|
128
|
-
padding
|
|
129
|
+
padding: var(--zaui-space-size-md, 16px);
|
|
129
130
|
border-top: none;
|
|
130
131
|
|
|
131
132
|
.pro-modal-footer {
|
|
132
|
-
display
|
|
133
|
+
display: flex;
|
|
133
134
|
justify-content: space-between;
|
|
134
135
|
}
|
|
135
136
|
}
|
|
136
137
|
|
|
137
138
|
.ant-modal-content {
|
|
138
139
|
.ant-modal-body {
|
|
139
|
-
max-height
|
|
140
|
-
padding
|
|
140
|
+
max-height: 450px;
|
|
141
|
+
padding: 0 var(--zaui-space-size-md, 16px);
|
|
141
142
|
padding-top: 0;
|
|
142
|
-
overflow
|
|
143
|
+
overflow: auto;
|
|
143
144
|
}
|
|
144
145
|
}
|
|
145
|
-
|
|
146
146
|
}
|
|
147
147
|
|
|
148
148
|
.pro-modal-no-footer {
|
|
149
149
|
.ant-modal-content {
|
|
150
150
|
.ant-modal-body {
|
|
151
|
-
padding-bottom: calc(var(--zaui-space-size-md; 16px) * var(--zaui-size; 1))
|
|
151
|
+
padding-bottom: calc(var(--zaui-space-size-md; 16px) * var(--zaui-size; 1));
|
|
152
152
|
}
|
|
153
153
|
}
|
|
154
154
|
}
|
|
@@ -157,16 +157,16 @@
|
|
|
157
157
|
z-index: 1;
|
|
158
158
|
|
|
159
159
|
.ant-modal-header {
|
|
160
|
+
position: relative;
|
|
161
|
+
z-index: 1;
|
|
160
162
|
box-shadow: -12px 14px 14px -18px var(--zaui-shadow, rgba(56, 56, 56, 0.15));
|
|
161
|
-
position : relative;
|
|
162
|
-
z-index : 1;
|
|
163
163
|
}
|
|
164
164
|
}
|
|
165
165
|
|
|
166
166
|
.pro-modal-footer-shadow {
|
|
167
167
|
.ant-modal-footer {
|
|
168
|
-
position
|
|
169
|
-
z-index
|
|
168
|
+
position: relative;
|
|
169
|
+
z-index: 1;
|
|
170
170
|
box-shadow: 3px 2px 12px 0px var(--zaui-shadow, rgba(56, 56, 56, 0.15));
|
|
171
171
|
}
|
|
172
172
|
}
|