@zat-design/sisyphus-react 3.10.2-beta.5 → 3.10.3-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/.vscode/extensions.json +5 -0
- package/dist/index.esm.css +47 -34
- package/dist/less.esm.css +47 -34
- package/es/ProAction/index.js +5 -5
- package/es/ProDownload/index.d.ts +1 -1
- package/es/ProDownload/index.js +3 -3
- package/es/ProDownload/utils.js +3 -3
- package/es/ProDrawerForm/components/ProDrawer/index.js +4 -4
- package/es/ProDrawerForm/components/ProModal/index.js +3 -3
- package/es/ProEditLabel/index.js +3 -3
- package/es/ProEditTable/components/ActionButton/index.d.ts +1 -1
- package/es/ProEditTable/components/ActionButton/index.js +3 -3
- package/es/ProEditTable/components/RcTable/BaseTable.d.ts +1 -1
- package/es/ProEditTable/components/RcTable/DraggableTable.d.ts +1 -1
- package/es/ProEditTable/components/RcTable/VirtualTable.d.ts +1 -1
- package/es/ProEditTable/components/RenderField/index.d.ts +1 -1
- package/es/ProEditTable/components/RenderField/index.js +5 -5
- package/es/ProEditTable/components/RenderToolbar/index.d.ts +1 -1
- package/es/ProEditTable/components/RenderToolbar/index.js +1 -1
- package/es/ProEditTable/components/Summary/index.d.ts +1 -1
- package/es/ProEditTable/index.js +39 -11
- package/es/ProEditTable/style/index.less +3 -1
- package/es/ProEditTable/utils/config.d.ts +2 -2
- package/es/ProEditTable/utils/config.js +13 -5
- package/es/ProEditTable/utils/index.js +5 -5
- package/es/ProEditTable/utils/tools.js +4 -4
- package/es/ProEnum/components/Group.d.ts +1 -1
- package/es/ProEnum/components/Tag.d.ts +1 -1
- package/es/ProEnum/hooks/useEnumRequest.js +2 -2
- package/es/ProEnum/index.d.ts +2 -2
- package/es/ProEnum/index.js +1 -1
- package/es/ProEnum/utils/eventCenter.js +1 -2
- package/es/ProEnum/utils/getEnumLabel.d.ts +1 -1
- package/es/ProForm/components/base/Input/index.d.ts +1 -1
- package/es/ProForm/components/combination/FormList/components/ActionButton.js +2 -2
- package/es/ProForm/components/combination/FormList/components/BlockTitle.js +1 -1
- package/es/ProForm/components/combination/FormList/components/ToolbarButton.js +1 -1
- package/es/ProForm/components/combination/FormList/utils.js +1 -1
- package/es/ProForm/components/combination/Group/component/ComRender.js +1 -1
- package/es/ProForm/components/combination/ProCascader/index.d.ts +1 -1
- package/es/ProForm/components/combination/ProCascader/index.js +8 -8
- package/es/ProForm/components/combination/ProModalSelect/hooks/useRequestList.js +1 -1
- package/es/ProForm/components/combination/ProModalSelect/index.js +5 -5
- package/es/ProForm/components/old/InputRange/index.d.ts +1 -1
- package/es/ProForm/components/old/InputWithSuffix/index.d.ts +1 -1
- package/es/ProForm/components/old/ProAddress/index.d.ts +1 -2
- package/es/ProForm/components/old/ProAddress/index.js +1 -1
- package/es/ProForm/components/old/ProRangeBox/index.d.ts +1 -2
- package/es/ProForm/components/render/ConfirmWrapper.js +1 -1
- package/es/ProForm/components/render/Render.js +3 -3
- package/es/ProForm/index.js +1 -1
- package/es/ProForm/utils/index.js +14 -10
- package/es/ProForm/utils/useForm.js +1 -1
- package/es/ProIcon/utils/index.js +4 -3
- package/es/ProLayout/components/Layout/Menu/OpenMenu/index.d.ts +1 -1
- package/es/ProLayout/components/Layout/Menu/OpenMenu/index.js +3 -3
- package/es/ProLayout/components/ProCollapse/index.d.ts +1 -1
- package/es/ProLayout/components/ProFooter/index.d.ts +1 -1
- package/es/ProLayout/components/ProHeader/components/Copy/index.d.ts +1 -1
- package/es/ProLayout/components/ProHeader/index.d.ts +1 -1
- package/es/ProLayout/index.d.ts +4 -4
- package/es/ProLayout/utils/index.js +9 -9
- package/es/ProSelect/components/AdaptiveTooltip.d.ts +1 -1
- package/es/ProSelect/index.d.ts +1 -1
- package/es/ProStep/components/Anchor/index.d.ts +1 -1
- package/es/ProStep/components/Anchor/index.js +12 -10
- package/es/ProStep/components/Item/index.d.ts +1 -1
- package/es/ProStep/components/Listener/index.js +26 -1
- package/es/ProStep/components/Step/index.d.ts +1 -1
- package/es/ProStep/components/Step/index.js +2 -2
- package/es/ProStep/index.d.ts +2 -2
- package/es/ProStep/index.js +3 -3
- package/es/ProStep/style/index.less +28 -16
- package/es/ProTable/components/FormatColumn/index.js +3 -3
- package/es/ProTable/components/RcTable/components/BaseTable/index.d.ts +1 -1
- package/es/ProTable/components/RcTable/components/DraggableTable/components/DndWrapper/index.js +2 -2
- package/es/ProTable/components/RcTable/components/DraggableTable/components/DndWrapper/utils/index.js +9 -8
- package/es/ProTable/components/RcTable/components/DraggableTable/index.d.ts +1 -1
- package/es/ProTable/components/RenderFooter/index.d.ts +1 -1
- package/es/ProTable/components/RenderTableHeader/index.d.ts +1 -1
- package/es/ProTable/components/TableResizable/index.d.ts +1 -1
- package/es/ProTable/hooks/useAntdTable.js +48 -49
- package/es/ProTable/index.d.ts +1 -1
- package/es/ProTable/index.js +5 -5
- package/es/ProTable/style/index.less +3 -1
- package/es/ProTable/utils/index.d.ts +2 -0
- package/es/ProTable/utils/index.js +5 -0
- package/es/ProTabs/components/Card/index.d.ts +1 -1
- package/es/ProThemeTools/component/ProTools/index.d.ts +1 -1
- package/es/ProThemeTools/index.d.ts +1 -1
- package/es/ProTooltip/index.d.ts +1 -1
- package/es/ProTree/components/AdaptiveTooltip.d.ts +1 -1
- package/es/ProTree/components/CloseIcon.d.ts +1 -2
- package/es/ProTree/components/List.d.ts +1 -1
- package/es/ProTree/components/ProTree.d.ts +1 -1
- package/es/ProTree/components/ProTree.js +1 -1
- package/es/ProTree/components/ProTreeSelect/index.d.ts +1 -1
- package/es/ProTree/components/ProTreeSelect/index.js +20 -20
- package/es/ProTree/components/SearchTitle.d.ts +1 -1
- package/es/ProTree/components/Tree.d.ts +1 -1
- package/es/ProTree/components/Tree.js +4 -4
- package/es/ProTree/index.d.ts +1 -1
- package/es/ProTree/utils.js +12 -11
- package/es/ProTreeModal/components/Cascader.d.ts +1 -1
- package/es/ProTreeModal/components/CloseIcon.d.ts +1 -2
- package/es/ProTreeModal/components/SearchTitle.d.ts +1 -1
- package/es/ProTreeModal/components/Tree.js +6 -6
- package/es/ProTreeModal/components/Trigger.d.ts +1 -1
- package/es/ProTreeModal/index.d.ts +1 -1
- package/es/ProTreeModal/index.js +3 -3
- package/es/ProTreeModal/utils.js +16 -14
- package/es/ProUpload/components/DraggableUploadListItem.d.ts +1 -1
- package/es/ProUpload/components/ImageRender.js +1 -1
- package/es/ProViewer/index.js +2 -2
- package/es/old/ProEditableTable/index.js +4 -4
- package/lib/ProAction/index.js +5 -5
- package/lib/ProDownload/index.d.ts +1 -1
- package/lib/ProDownload/index.js +3 -3
- package/lib/ProDownload/utils.js +3 -3
- package/lib/ProDrawerForm/components/ProDrawer/index.js +4 -4
- package/lib/ProDrawerForm/components/ProModal/index.js +3 -3
- package/lib/ProEditLabel/index.js +3 -3
- package/lib/ProEditTable/components/ActionButton/index.d.ts +1 -1
- package/lib/ProEditTable/components/ActionButton/index.js +3 -3
- package/lib/ProEditTable/components/RcTable/BaseTable.d.ts +1 -1
- package/lib/ProEditTable/components/RcTable/DraggableTable.d.ts +1 -1
- package/lib/ProEditTable/components/RcTable/VirtualTable.d.ts +1 -1
- package/lib/ProEditTable/components/RenderField/index.d.ts +1 -1
- package/lib/ProEditTable/components/RenderField/index.js +5 -5
- package/lib/ProEditTable/components/RenderToolbar/index.d.ts +1 -1
- package/lib/ProEditTable/components/RenderToolbar/index.js +1 -1
- package/lib/ProEditTable/components/Summary/index.d.ts +1 -1
- package/lib/ProEditTable/index.js +38 -10
- package/lib/ProEditTable/style/index.less +3 -1
- package/lib/ProEditTable/utils/config.d.ts +2 -2
- package/lib/ProEditTable/utils/config.js +13 -5
- package/lib/ProEditTable/utils/index.js +5 -5
- package/lib/ProEditTable/utils/tools.js +4 -4
- package/lib/ProEnum/components/Group.d.ts +1 -1
- package/lib/ProEnum/components/Tag.d.ts +1 -1
- package/lib/ProEnum/hooks/useEnumRequest.js +2 -2
- package/lib/ProEnum/index.d.ts +2 -2
- package/lib/ProEnum/index.js +1 -1
- package/lib/ProEnum/utils/eventCenter.js +1 -2
- package/lib/ProEnum/utils/getEnumLabel.d.ts +1 -1
- package/lib/ProForm/components/base/Input/index.d.ts +1 -1
- package/lib/ProForm/components/combination/FormList/components/ActionButton.js +2 -2
- package/lib/ProForm/components/combination/FormList/components/BlockTitle.js +1 -1
- package/lib/ProForm/components/combination/FormList/components/ToolbarButton.js +1 -1
- package/lib/ProForm/components/combination/FormList/utils.js +1 -1
- package/lib/ProForm/components/combination/Group/component/ComRender.js +1 -1
- package/lib/ProForm/components/combination/ProCascader/index.d.ts +1 -1
- package/lib/ProForm/components/combination/ProCascader/index.js +8 -8
- package/lib/ProForm/components/combination/ProModalSelect/hooks/useRequestList.js +1 -1
- package/lib/ProForm/components/combination/ProModalSelect/index.js +5 -5
- package/lib/ProForm/components/old/InputRange/index.d.ts +1 -1
- package/lib/ProForm/components/old/InputWithSuffix/index.d.ts +1 -1
- package/lib/ProForm/components/old/ProAddress/index.d.ts +1 -2
- package/lib/ProForm/components/old/ProAddress/index.js +1 -1
- package/lib/ProForm/components/old/ProRangeBox/index.d.ts +1 -2
- package/lib/ProForm/components/render/ConfirmWrapper.js +1 -1
- package/lib/ProForm/components/render/Render.js +3 -3
- package/lib/ProForm/index.js +1 -1
- package/lib/ProForm/utils/index.js +10 -10
- package/lib/ProForm/utils/useForm.js +1 -1
- package/lib/ProIcon/utils/index.js +3 -3
- package/lib/ProLayout/components/Layout/Menu/OpenMenu/index.d.ts +1 -1
- package/lib/ProLayout/components/Layout/Menu/OpenMenu/index.js +3 -3
- package/lib/ProLayout/components/ProCollapse/index.d.ts +1 -1
- package/lib/ProLayout/components/ProFooter/index.d.ts +1 -1
- package/lib/ProLayout/components/ProHeader/components/Copy/index.d.ts +1 -1
- package/lib/ProLayout/components/ProHeader/index.d.ts +1 -1
- package/lib/ProLayout/index.d.ts +4 -4
- package/lib/ProLayout/utils/index.js +9 -9
- package/lib/ProSelect/components/AdaptiveTooltip.d.ts +1 -1
- package/lib/ProSelect/index.d.ts +1 -1
- package/lib/ProStep/components/Anchor/index.d.ts +1 -1
- package/lib/ProStep/components/Anchor/index.js +11 -10
- package/lib/ProStep/components/Item/index.d.ts +1 -1
- package/lib/ProStep/components/Listener/index.js +26 -1
- package/lib/ProStep/components/Step/index.d.ts +1 -1
- package/lib/ProStep/components/Step/index.js +2 -2
- package/lib/ProStep/index.d.ts +2 -2
- package/lib/ProStep/index.js +3 -3
- package/lib/ProStep/style/index.less +28 -16
- package/lib/ProTable/components/FormatColumn/index.js +3 -3
- package/lib/ProTable/components/RcTable/components/BaseTable/index.d.ts +1 -1
- package/lib/ProTable/components/RcTable/components/DraggableTable/components/DndWrapper/index.js +2 -2
- package/lib/ProTable/components/RcTable/components/DraggableTable/components/DndWrapper/utils/index.js +8 -8
- package/lib/ProTable/components/RcTable/components/DraggableTable/index.d.ts +1 -1
- package/lib/ProTable/components/RenderFooter/index.d.ts +1 -1
- package/lib/ProTable/components/RenderTableHeader/index.d.ts +1 -1
- package/lib/ProTable/components/TableResizable/index.d.ts +1 -1
- package/lib/ProTable/hooks/useAntdTable.js +45 -46
- package/lib/ProTable/index.d.ts +1 -1
- package/lib/ProTable/index.js +5 -5
- package/lib/ProTable/style/index.less +3 -1
- package/lib/ProTable/utils/index.d.ts +2 -0
- package/lib/ProTable/utils/index.js +6 -1
- package/lib/ProTabs/components/Card/index.d.ts +1 -1
- package/lib/ProThemeTools/component/ProTools/index.d.ts +1 -1
- package/lib/ProThemeTools/index.d.ts +1 -1
- package/lib/ProTooltip/index.d.ts +1 -1
- package/lib/ProTree/components/AdaptiveTooltip.d.ts +1 -1
- package/lib/ProTree/components/CloseIcon.d.ts +1 -2
- package/lib/ProTree/components/List.d.ts +1 -1
- package/lib/ProTree/components/ProTree.d.ts +1 -1
- package/lib/ProTree/components/ProTree.js +1 -1
- package/lib/ProTree/components/ProTreeSelect/index.d.ts +1 -1
- package/lib/ProTree/components/ProTreeSelect/index.js +20 -20
- package/lib/ProTree/components/SearchTitle.d.ts +1 -1
- package/lib/ProTree/components/Tree.d.ts +1 -1
- package/lib/ProTree/components/Tree.js +4 -4
- package/lib/ProTree/index.d.ts +1 -1
- package/lib/ProTree/utils.js +11 -11
- package/lib/ProTreeModal/components/Cascader.d.ts +1 -1
- package/lib/ProTreeModal/components/CloseIcon.d.ts +1 -2
- package/lib/ProTreeModal/components/SearchTitle.d.ts +1 -1
- package/lib/ProTreeModal/components/Tree.js +6 -6
- package/lib/ProTreeModal/components/Trigger.d.ts +1 -1
- package/lib/ProTreeModal/index.d.ts +1 -1
- package/lib/ProTreeModal/index.js +3 -3
- package/lib/ProTreeModal/utils.js +13 -13
- package/lib/ProUpload/components/DraggableUploadListItem.d.ts +1 -1
- package/lib/ProUpload/components/ImageRender.js +1 -1
- package/lib/ProViewer/index.js +2 -2
- package/lib/old/ProEditableTable/index.js +4 -4
- package/package.json +1 -1
package/dist/index.esm.css
CHANGED
@@ -1490,7 +1490,7 @@
|
|
1490
1490
|
-webkit-transition: width 0.2s;
|
1491
1491
|
transition: width 0.2s;
|
1492
1492
|
}
|
1493
|
-
.pro-step > .step-menu {
|
1493
|
+
.pro-step > .pro-step-menu {
|
1494
1494
|
display: -webkit-box;
|
1495
1495
|
display: -webkit-flex;
|
1496
1496
|
display: -ms-flexbox;
|
@@ -1504,7 +1504,7 @@
|
|
1504
1504
|
font-size: var(--zaui-font-size-lg, 16px);
|
1505
1505
|
border-bottom: 1px solid var(--zaui-line, #dddddd);
|
1506
1506
|
}
|
1507
|
-
.pro-step > .step-menu > .anticon {
|
1507
|
+
.pro-step > .pro-step-menu > .anticon {
|
1508
1508
|
display: -webkit-box;
|
1509
1509
|
display: -webkit-flex;
|
1510
1510
|
display: -ms-flexbox;
|
@@ -1520,13 +1520,13 @@
|
|
1520
1520
|
width: 48px;
|
1521
1521
|
height: 24px;
|
1522
1522
|
}
|
1523
|
-
.pro-step > .step-menu > .anticon > .menu-icon {
|
1523
|
+
.pro-step > .pro-step-menu > .anticon > .pro-step-menu-icon {
|
1524
1524
|
width: auto !important;
|
1525
1525
|
height: auto !important;
|
1526
1526
|
font-size: var(--zaui-font-size-lg-title, 24px);
|
1527
1527
|
fill: var(--zaui-brand, #006aff);
|
1528
1528
|
}
|
1529
|
-
.pro-step > .step-menu > .anticon > .menu-icon > div {
|
1529
|
+
.pro-step > .pro-step-menu > .anticon > .pro-step-menu-icon > div {
|
1530
1530
|
display: -webkit-box;
|
1531
1531
|
display: -webkit-flex;
|
1532
1532
|
display: -ms-flexbox;
|
@@ -1542,17 +1542,17 @@
|
|
1542
1542
|
width: 48px;
|
1543
1543
|
height: 24px;
|
1544
1544
|
}
|
1545
|
-
.pro-step > .step-menu > .anticon > button {
|
1545
|
+
.pro-step > .pro-step-menu > .anticon > button {
|
1546
1546
|
width: auto !important;
|
1547
1547
|
height: auto !important;
|
1548
1548
|
}
|
1549
|
-
.pro-step > .step-menu > .anticon > button > .menu-icon {
|
1549
|
+
.pro-step > .pro-step-menu > .anticon > button > .pro-step-menu-icon {
|
1550
1550
|
width: auto !important;
|
1551
1551
|
height: auto !important;
|
1552
1552
|
font-size: var(--zaui-font-size-lg-title, 24px);
|
1553
1553
|
fill: var(--zaui-brand, #006aff);
|
1554
1554
|
}
|
1555
|
-
.pro-step > .step-menu > .anticon > button > .menu-icon > div {
|
1555
|
+
.pro-step > .pro-step-menu > .anticon > button > .pro-step-menu-icon > div {
|
1556
1556
|
display: -webkit-box;
|
1557
1557
|
display: -webkit-flex;
|
1558
1558
|
display: -ms-flexbox;
|
@@ -1568,11 +1568,11 @@
|
|
1568
1568
|
width: 48px;
|
1569
1569
|
height: 24px;
|
1570
1570
|
}
|
1571
|
-
.pro-step > .step-menu > .menu-icon {
|
1571
|
+
.pro-step > .pro-step-menu > .menu-icon {
|
1572
1572
|
font-size: var(--zaui-font-size-lg-title, 24px);
|
1573
1573
|
fill: var(--zaui-brand, #006aff);
|
1574
1574
|
}
|
1575
|
-
.pro-step > .step-menu > .menu-icon > div {
|
1575
|
+
.pro-step > .pro-step-menu > .menu-icon > div {
|
1576
1576
|
display: -webkit-box;
|
1577
1577
|
display: -webkit-flex;
|
1578
1578
|
display: -ms-flexbox;
|
@@ -1588,13 +1588,13 @@
|
|
1588
1588
|
width: 48px;
|
1589
1589
|
height: 24px;
|
1590
1590
|
}
|
1591
|
-
.pro-step .menu-content {
|
1591
|
+
.pro-step .pro-step-menu-content {
|
1592
1592
|
overflow: hidden;
|
1593
1593
|
}
|
1594
|
-
.pro-step .menu-content:hover {
|
1594
|
+
.pro-step .pro-step-menu-content:hover {
|
1595
1595
|
overflow-y: auto;
|
1596
1596
|
}
|
1597
|
-
.pro-step .com-menu-item {
|
1597
|
+
.pro-step .pro-step-com-menu-item {
|
1598
1598
|
display: -webkit-box;
|
1599
1599
|
display: -webkit-flex;
|
1600
1600
|
display: -ms-flexbox;
|
@@ -1611,16 +1611,16 @@
|
|
1611
1611
|
height: 48px;
|
1612
1612
|
padding-right: var(--zaui-space-size-md, 24px);
|
1613
1613
|
}
|
1614
|
-
.pro-step .com-menu-item:hover {
|
1614
|
+
.pro-step .pro-step-com-menu-item:hover {
|
1615
1615
|
background-color: rgba(185, 185, 189, 0.1);
|
1616
1616
|
}
|
1617
|
-
.pro-step .com-menu-item.current {
|
1617
|
+
.pro-step .pro-step-com-menu-item.current {
|
1618
1618
|
background-color: var(--ant-primary-1, #e6f4ff);
|
1619
1619
|
}
|
1620
|
-
.pro-step .com-menu-item.current:hover {
|
1620
|
+
.pro-step .pro-step-com-menu-item.current:hover {
|
1621
1621
|
background-color: var(--ant-primary-1, #e6f4ff);
|
1622
1622
|
}
|
1623
|
-
.pro-step .com-menu-item > .menu-item {
|
1623
|
+
.pro-step .pro-step-com-menu-item > .pro-step-menu-item {
|
1624
1624
|
display: -webkit-box;
|
1625
1625
|
display: -webkit-flex;
|
1626
1626
|
display: -ms-flexbox;
|
@@ -1630,7 +1630,7 @@
|
|
1630
1630
|
-ms-flex-align: center;
|
1631
1631
|
align-items: center;
|
1632
1632
|
}
|
1633
|
-
.pro-step .com-menu-item > .menu-item > .menu-icon {
|
1633
|
+
.pro-step .pro-step-com-menu-item > .pro-step-menu-item > .pro-step-menu-icon {
|
1634
1634
|
display: -webkit-box;
|
1635
1635
|
display: -webkit-flex;
|
1636
1636
|
display: -ms-flexbox;
|
@@ -1646,24 +1646,27 @@
|
|
1646
1646
|
width: 48px;
|
1647
1647
|
height: 100%;
|
1648
1648
|
}
|
1649
|
-
.pro-step .com-menu-item > .menu-item > .menu-icon > svg {
|
1649
|
+
.pro-step .pro-step-com-menu-item > .pro-step-menu-item > .pro-step-menu-icon > svg {
|
1650
1650
|
fill: var(--zaui-brand, #006aff);
|
1651
1651
|
}
|
1652
|
-
.pro-step .com-menu-item > .menu-item > .menu-icon > .dot {
|
1652
|
+
.pro-step .pro-step-com-menu-item > .pro-step-menu-item > .pro-step-menu-icon > .pro-step-dot {
|
1653
1653
|
width: 6px;
|
1654
1654
|
height: 6px;
|
1655
1655
|
background: var(--zaui-brand, #006aff);
|
1656
1656
|
border-radius: 3px;
|
1657
1657
|
}
|
1658
|
-
.pro-step .com-menu-item > .menu-item > .menu-icon > .dot.errored {
|
1658
|
+
.pro-step .pro-step-com-menu-item > .pro-step-menu-item > .pro-step-menu-icon > .pro-step-dot.errored {
|
1659
|
+
width: 12px;
|
1660
|
+
height: 12px;
|
1659
1661
|
background: #ff5050;
|
1662
|
+
border-radius: 50%;
|
1660
1663
|
fill: #ff5050;
|
1661
1664
|
}
|
1662
|
-
.pro-step .com-menu-item > .menu-item > .menu-icon > .dot.disabled {
|
1665
|
+
.pro-step .pro-step-com-menu-item > .pro-step-menu-item > .pro-step-menu-icon > .pro-step-dot.disabled {
|
1663
1666
|
background: #939599;
|
1664
1667
|
fill: #939599;
|
1665
1668
|
}
|
1666
|
-
.pro-step .com-menu-item > .menu-item > .menu-icon .dot-icon {
|
1669
|
+
.pro-step .pro-step-com-menu-item > .pro-step-menu-item > .pro-step-menu-icon .pro-step-dot-icon {
|
1667
1670
|
display: -webkit-box;
|
1668
1671
|
display: -webkit-flex;
|
1669
1672
|
display: -ms-flexbox;
|
@@ -1683,27 +1686,27 @@
|
|
1683
1686
|
background: var(--zaui-brand, #006aff);
|
1684
1687
|
border-radius: 9px;
|
1685
1688
|
}
|
1686
|
-
.pro-step .com-menu-item > .menu-item > .menu-icon .dot-icon.errored {
|
1689
|
+
.pro-step .pro-step-com-menu-item > .pro-step-menu-item > .pro-step-menu-icon .pro-step-dot-icon.errored {
|
1687
1690
|
background: #ff5050;
|
1688
1691
|
fill: #ff5050;
|
1689
1692
|
}
|
1690
|
-
.pro-step .com-menu-item > .menu-item > .menu-icon .dot-icon.disabled {
|
1693
|
+
.pro-step .pro-step-com-menu-item > .pro-step-menu-item > .pro-step-menu-icon .pro-step-dot-icon.disabled {
|
1691
1694
|
background: #939599;
|
1692
1695
|
fill: #939599;
|
1693
1696
|
}
|
1694
|
-
.pro-step .com-menu-item > .menu-item > .menu-name {
|
1697
|
+
.pro-step .pro-step-com-menu-item > .pro-step-menu-item > .pro-step-menu-name {
|
1695
1698
|
color: #0a0a0a;
|
1696
1699
|
}
|
1697
|
-
.pro-step .com-menu-item > .menu-item > .menu-name.disabled {
|
1700
|
+
.pro-step .pro-step-com-menu-item > .pro-step-menu-item > .pro-step-menu-name.disabled {
|
1698
1701
|
color: #626366;
|
1699
1702
|
}
|
1700
|
-
.pro-step .com-menu-item > .checked-status {
|
1703
|
+
.pro-step .pro-step-com-menu-item > .pro-step-checked-status {
|
1701
1704
|
height: 18px;
|
1702
1705
|
}
|
1703
|
-
.pro-step .com-menu-item > .checked-status > svg {
|
1706
|
+
.pro-step .pro-step-com-menu-item > .pro-step-checked-status > svg {
|
1704
1707
|
fill: var(--zaui-brand, #006aff);
|
1705
1708
|
}
|
1706
|
-
.pro-step .com-menu-item > .checked-status .
|
1709
|
+
.pro-step .pro-step-com-menu-item > .pro-step-checked-status .pro-step-error-dot {
|
1707
1710
|
display: -webkit-box;
|
1708
1711
|
display: -webkit-flex;
|
1709
1712
|
display: -ms-flexbox;
|
@@ -1716,12 +1719,16 @@
|
|
1716
1719
|
-webkit-justify-content: center;
|
1717
1720
|
-ms-flex-pack: center;
|
1718
1721
|
justify-content: center;
|
1719
|
-
width: 16px;
|
1720
|
-
height: 16px;
|
1721
|
-
background: rgba(255, 80, 80, 0.2);
|
1722
|
-
border-radius: 8px;
|
1723
1722
|
}
|
1724
|
-
.pro-step .com-menu-item > .checked-status .
|
1723
|
+
.pro-step .pro-step-com-menu-item > .pro-step-checked-status .pro-step-error-dot .ant-badge .ant-badge-count {
|
1724
|
+
background: rgba(255, 80, 80, 0.15);
|
1725
|
+
color: #ff5050;
|
1726
|
+
}
|
1727
|
+
.pro-step .pro-step-com-menu-item > .pro-step-checked-status .pro-step-error-dot .ant-badge .ant-badge-count .ant-scroll-number-only-unit,
|
1728
|
+
.pro-step .pro-step-com-menu-item > .pro-step-checked-status .pro-step-error-dot .ant-badge .ant-badge-count .ant-scroll-number {
|
1729
|
+
font-weight: 600;
|
1730
|
+
}
|
1731
|
+
.pro-step .pro-step-com-menu-item > .pro-step-checked-status .pro-step-error-dot > span {
|
1725
1732
|
color: #ff5050;
|
1726
1733
|
font-weight: 600;
|
1727
1734
|
font-size: var(--aui-font-size-sm, 12px);
|
@@ -2235,6 +2242,9 @@
|
|
2235
2242
|
.pro-table .ant-table-summary {
|
2236
2243
|
background-color: var(--zaui-table-header-bg, #f2f3f5);
|
2237
2244
|
}
|
2245
|
+
.pro-table .ant-table-summary td {
|
2246
|
+
padding: calc(4px + var(--zaui-size)*8px);
|
2247
|
+
}
|
2238
2248
|
.pro-table .ant-table-summary .ant-table-cell {
|
2239
2249
|
font-weight: 500;
|
2240
2250
|
background-color: var(--zaui-table-header-bg, #f2f3f5);
|
@@ -4622,6 +4632,9 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
|
|
4622
4632
|
color: var(--zaui-text, #343434);
|
4623
4633
|
font-weight: 600;
|
4624
4634
|
}
|
4635
|
+
.pro-edit-table .ant-table-content > table .ant-table-summary td {
|
4636
|
+
padding: 8px 16px;
|
4637
|
+
}
|
4625
4638
|
.pro-edit-table .ant-table-content > table .ant-table-summary .ant-table-cell-fix-left,
|
4626
4639
|
.pro-edit-table .ant-table-content > table .ant-table-summary .ant-table-cell-fix-right {
|
4627
4640
|
background-color: var(--zaui-table-header-bg, #f2f3f5);
|
package/dist/less.esm.css
CHANGED
@@ -1490,7 +1490,7 @@
|
|
1490
1490
|
-webkit-transition: width 0.2s;
|
1491
1491
|
transition: width 0.2s;
|
1492
1492
|
}
|
1493
|
-
.pro-step > .step-menu {
|
1493
|
+
.pro-step > .pro-step-menu {
|
1494
1494
|
display: -webkit-box;
|
1495
1495
|
display: -webkit-flex;
|
1496
1496
|
display: -ms-flexbox;
|
@@ -1504,7 +1504,7 @@
|
|
1504
1504
|
font-size: var(--zaui-font-size-lg, 16px);
|
1505
1505
|
border-bottom: 1px solid var(--zaui-line, #dddddd);
|
1506
1506
|
}
|
1507
|
-
.pro-step > .step-menu > .anticon {
|
1507
|
+
.pro-step > .pro-step-menu > .anticon {
|
1508
1508
|
display: -webkit-box;
|
1509
1509
|
display: -webkit-flex;
|
1510
1510
|
display: -ms-flexbox;
|
@@ -1520,13 +1520,13 @@
|
|
1520
1520
|
width: 48px;
|
1521
1521
|
height: 24px;
|
1522
1522
|
}
|
1523
|
-
.pro-step > .step-menu > .anticon > .menu-icon {
|
1523
|
+
.pro-step > .pro-step-menu > .anticon > .pro-step-menu-icon {
|
1524
1524
|
width: auto !important;
|
1525
1525
|
height: auto !important;
|
1526
1526
|
font-size: var(--zaui-font-size-lg-title, 24px);
|
1527
1527
|
fill: var(--zaui-brand, #006aff);
|
1528
1528
|
}
|
1529
|
-
.pro-step > .step-menu > .anticon > .menu-icon > div {
|
1529
|
+
.pro-step > .pro-step-menu > .anticon > .pro-step-menu-icon > div {
|
1530
1530
|
display: -webkit-box;
|
1531
1531
|
display: -webkit-flex;
|
1532
1532
|
display: -ms-flexbox;
|
@@ -1542,17 +1542,17 @@
|
|
1542
1542
|
width: 48px;
|
1543
1543
|
height: 24px;
|
1544
1544
|
}
|
1545
|
-
.pro-step > .step-menu > .anticon > button {
|
1545
|
+
.pro-step > .pro-step-menu > .anticon > button {
|
1546
1546
|
width: auto !important;
|
1547
1547
|
height: auto !important;
|
1548
1548
|
}
|
1549
|
-
.pro-step > .step-menu > .anticon > button > .menu-icon {
|
1549
|
+
.pro-step > .pro-step-menu > .anticon > button > .pro-step-menu-icon {
|
1550
1550
|
width: auto !important;
|
1551
1551
|
height: auto !important;
|
1552
1552
|
font-size: var(--zaui-font-size-lg-title, 24px);
|
1553
1553
|
fill: var(--zaui-brand, #006aff);
|
1554
1554
|
}
|
1555
|
-
.pro-step > .step-menu > .anticon > button > .menu-icon > div {
|
1555
|
+
.pro-step > .pro-step-menu > .anticon > button > .pro-step-menu-icon > div {
|
1556
1556
|
display: -webkit-box;
|
1557
1557
|
display: -webkit-flex;
|
1558
1558
|
display: -ms-flexbox;
|
@@ -1568,11 +1568,11 @@
|
|
1568
1568
|
width: 48px;
|
1569
1569
|
height: 24px;
|
1570
1570
|
}
|
1571
|
-
.pro-step > .step-menu > .menu-icon {
|
1571
|
+
.pro-step > .pro-step-menu > .menu-icon {
|
1572
1572
|
font-size: var(--zaui-font-size-lg-title, 24px);
|
1573
1573
|
fill: var(--zaui-brand, #006aff);
|
1574
1574
|
}
|
1575
|
-
.pro-step > .step-menu > .menu-icon > div {
|
1575
|
+
.pro-step > .pro-step-menu > .menu-icon > div {
|
1576
1576
|
display: -webkit-box;
|
1577
1577
|
display: -webkit-flex;
|
1578
1578
|
display: -ms-flexbox;
|
@@ -1588,13 +1588,13 @@
|
|
1588
1588
|
width: 48px;
|
1589
1589
|
height: 24px;
|
1590
1590
|
}
|
1591
|
-
.pro-step .menu-content {
|
1591
|
+
.pro-step .pro-step-menu-content {
|
1592
1592
|
overflow: hidden;
|
1593
1593
|
}
|
1594
|
-
.pro-step .menu-content:hover {
|
1594
|
+
.pro-step .pro-step-menu-content:hover {
|
1595
1595
|
overflow-y: auto;
|
1596
1596
|
}
|
1597
|
-
.pro-step .com-menu-item {
|
1597
|
+
.pro-step .pro-step-com-menu-item {
|
1598
1598
|
display: -webkit-box;
|
1599
1599
|
display: -webkit-flex;
|
1600
1600
|
display: -ms-flexbox;
|
@@ -1611,16 +1611,16 @@
|
|
1611
1611
|
height: 48px;
|
1612
1612
|
padding-right: var(--zaui-space-size-md, 24px);
|
1613
1613
|
}
|
1614
|
-
.pro-step .com-menu-item:hover {
|
1614
|
+
.pro-step .pro-step-com-menu-item:hover {
|
1615
1615
|
background-color: rgba(185, 185, 189, 0.1);
|
1616
1616
|
}
|
1617
|
-
.pro-step .com-menu-item.current {
|
1617
|
+
.pro-step .pro-step-com-menu-item.current {
|
1618
1618
|
background-color: var(--ant-primary-1, #e6f4ff);
|
1619
1619
|
}
|
1620
|
-
.pro-step .com-menu-item.current:hover {
|
1620
|
+
.pro-step .pro-step-com-menu-item.current:hover {
|
1621
1621
|
background-color: var(--ant-primary-1, #e6f4ff);
|
1622
1622
|
}
|
1623
|
-
.pro-step .com-menu-item > .menu-item {
|
1623
|
+
.pro-step .pro-step-com-menu-item > .pro-step-menu-item {
|
1624
1624
|
display: -webkit-box;
|
1625
1625
|
display: -webkit-flex;
|
1626
1626
|
display: -ms-flexbox;
|
@@ -1630,7 +1630,7 @@
|
|
1630
1630
|
-ms-flex-align: center;
|
1631
1631
|
align-items: center;
|
1632
1632
|
}
|
1633
|
-
.pro-step .com-menu-item > .menu-item > .menu-icon {
|
1633
|
+
.pro-step .pro-step-com-menu-item > .pro-step-menu-item > .pro-step-menu-icon {
|
1634
1634
|
display: -webkit-box;
|
1635
1635
|
display: -webkit-flex;
|
1636
1636
|
display: -ms-flexbox;
|
@@ -1646,24 +1646,27 @@
|
|
1646
1646
|
width: 48px;
|
1647
1647
|
height: 100%;
|
1648
1648
|
}
|
1649
|
-
.pro-step .com-menu-item > .menu-item > .menu-icon > svg {
|
1649
|
+
.pro-step .pro-step-com-menu-item > .pro-step-menu-item > .pro-step-menu-icon > svg {
|
1650
1650
|
fill: var(--zaui-brand, #006aff);
|
1651
1651
|
}
|
1652
|
-
.pro-step .com-menu-item > .menu-item > .menu-icon > .dot {
|
1652
|
+
.pro-step .pro-step-com-menu-item > .pro-step-menu-item > .pro-step-menu-icon > .pro-step-dot {
|
1653
1653
|
width: 6px;
|
1654
1654
|
height: 6px;
|
1655
1655
|
background: var(--zaui-brand, #006aff);
|
1656
1656
|
border-radius: 3px;
|
1657
1657
|
}
|
1658
|
-
.pro-step .com-menu-item > .menu-item > .menu-icon > .dot.errored {
|
1658
|
+
.pro-step .pro-step-com-menu-item > .pro-step-menu-item > .pro-step-menu-icon > .pro-step-dot.errored {
|
1659
|
+
width: 12px;
|
1660
|
+
height: 12px;
|
1659
1661
|
background: #ff5050;
|
1662
|
+
border-radius: 50%;
|
1660
1663
|
fill: #ff5050;
|
1661
1664
|
}
|
1662
|
-
.pro-step .com-menu-item > .menu-item > .menu-icon > .dot.disabled {
|
1665
|
+
.pro-step .pro-step-com-menu-item > .pro-step-menu-item > .pro-step-menu-icon > .pro-step-dot.disabled {
|
1663
1666
|
background: #939599;
|
1664
1667
|
fill: #939599;
|
1665
1668
|
}
|
1666
|
-
.pro-step .com-menu-item > .menu-item > .menu-icon .dot-icon {
|
1669
|
+
.pro-step .pro-step-com-menu-item > .pro-step-menu-item > .pro-step-menu-icon .pro-step-dot-icon {
|
1667
1670
|
display: -webkit-box;
|
1668
1671
|
display: -webkit-flex;
|
1669
1672
|
display: -ms-flexbox;
|
@@ -1683,27 +1686,27 @@
|
|
1683
1686
|
background: var(--zaui-brand, #006aff);
|
1684
1687
|
border-radius: 9px;
|
1685
1688
|
}
|
1686
|
-
.pro-step .com-menu-item > .menu-item > .menu-icon .dot-icon.errored {
|
1689
|
+
.pro-step .pro-step-com-menu-item > .pro-step-menu-item > .pro-step-menu-icon .pro-step-dot-icon.errored {
|
1687
1690
|
background: #ff5050;
|
1688
1691
|
fill: #ff5050;
|
1689
1692
|
}
|
1690
|
-
.pro-step .com-menu-item > .menu-item > .menu-icon .dot-icon.disabled {
|
1693
|
+
.pro-step .pro-step-com-menu-item > .pro-step-menu-item > .pro-step-menu-icon .pro-step-dot-icon.disabled {
|
1691
1694
|
background: #939599;
|
1692
1695
|
fill: #939599;
|
1693
1696
|
}
|
1694
|
-
.pro-step .com-menu-item > .menu-item > .menu-name {
|
1697
|
+
.pro-step .pro-step-com-menu-item > .pro-step-menu-item > .pro-step-menu-name {
|
1695
1698
|
color: #0a0a0a;
|
1696
1699
|
}
|
1697
|
-
.pro-step .com-menu-item > .menu-item > .menu-name.disabled {
|
1700
|
+
.pro-step .pro-step-com-menu-item > .pro-step-menu-item > .pro-step-menu-name.disabled {
|
1698
1701
|
color: #626366;
|
1699
1702
|
}
|
1700
|
-
.pro-step .com-menu-item > .checked-status {
|
1703
|
+
.pro-step .pro-step-com-menu-item > .pro-step-checked-status {
|
1701
1704
|
height: 18px;
|
1702
1705
|
}
|
1703
|
-
.pro-step .com-menu-item > .checked-status > svg {
|
1706
|
+
.pro-step .pro-step-com-menu-item > .pro-step-checked-status > svg {
|
1704
1707
|
fill: var(--zaui-brand, #006aff);
|
1705
1708
|
}
|
1706
|
-
.pro-step .com-menu-item > .checked-status .
|
1709
|
+
.pro-step .pro-step-com-menu-item > .pro-step-checked-status .pro-step-error-dot {
|
1707
1710
|
display: -webkit-box;
|
1708
1711
|
display: -webkit-flex;
|
1709
1712
|
display: -ms-flexbox;
|
@@ -1716,12 +1719,16 @@
|
|
1716
1719
|
-webkit-justify-content: center;
|
1717
1720
|
-ms-flex-pack: center;
|
1718
1721
|
justify-content: center;
|
1719
|
-
width: 16px;
|
1720
|
-
height: 16px;
|
1721
|
-
background: rgba(255, 80, 80, 0.2);
|
1722
|
-
border-radius: 8px;
|
1723
1722
|
}
|
1724
|
-
.pro-step .com-menu-item > .checked-status .
|
1723
|
+
.pro-step .pro-step-com-menu-item > .pro-step-checked-status .pro-step-error-dot .ant-badge .ant-badge-count {
|
1724
|
+
background: rgba(255, 80, 80, 0.15);
|
1725
|
+
color: #ff5050;
|
1726
|
+
}
|
1727
|
+
.pro-step .pro-step-com-menu-item > .pro-step-checked-status .pro-step-error-dot .ant-badge .ant-badge-count .ant-scroll-number-only-unit,
|
1728
|
+
.pro-step .pro-step-com-menu-item > .pro-step-checked-status .pro-step-error-dot .ant-badge .ant-badge-count .ant-scroll-number {
|
1729
|
+
font-weight: 600;
|
1730
|
+
}
|
1731
|
+
.pro-step .pro-step-com-menu-item > .pro-step-checked-status .pro-step-error-dot > span {
|
1725
1732
|
color: #ff5050;
|
1726
1733
|
font-weight: 600;
|
1727
1734
|
font-size: var(--aui-font-size-sm, 12px);
|
@@ -2235,6 +2242,9 @@
|
|
2235
2242
|
.pro-table .ant-table-summary {
|
2236
2243
|
background-color: var(--zaui-table-header-bg, #f2f3f5);
|
2237
2244
|
}
|
2245
|
+
.pro-table .ant-table-summary td {
|
2246
|
+
padding: calc(4px + var(--zaui-size)*8px);
|
2247
|
+
}
|
2238
2248
|
.pro-table .ant-table-summary .ant-table-cell {
|
2239
2249
|
font-weight: 500;
|
2240
2250
|
background-color: var(--zaui-table-header-bg, #f2f3f5);
|
@@ -4622,6 +4632,9 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
|
|
4622
4632
|
color: var(--zaui-text, #343434);
|
4623
4633
|
font-weight: 600;
|
4624
4634
|
}
|
4635
|
+
.pro-edit-table .ant-table-content > table .ant-table-summary td {
|
4636
|
+
padding: 8px 16px;
|
4637
|
+
}
|
4625
4638
|
.pro-edit-table .ant-table-content > table .ant-table-summary .ant-table-cell-fix-left,
|
4626
4639
|
.pro-edit-table .ant-table-content > table .ant-table-summary .ant-table-cell-fix-right {
|
4627
4640
|
background-color: var(--zaui-table-header-bg, #f2f3f5);
|
package/es/ProAction/index.js
CHANGED
@@ -39,8 +39,8 @@ var ProAction = function ProAction(props) {
|
|
39
39
|
var index = state.index,
|
40
40
|
servicesArray = state.servicesArray;
|
41
41
|
var length = config.length;
|
42
|
-
var
|
43
|
-
var _ref = _asyncToGenerator(
|
42
|
+
var _onActionRun = /*#__PURE__*/function () {
|
43
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(currentIndex, array) {
|
44
44
|
var _actionProps$useReque, _options$onSuccess, _newServicesArray$cur, _newServicesArray$cur2, _newServicesArray$cur3, _actionProps$onAction, _actionProps$continue;
|
45
45
|
var actionProps, newServicesArray, _ref2, service, options, transformResponse, res, data, open, _newServicesArray$cur4, _newServicesArray$cur5, _newServicesArray$cur6, list, errorTitle, isContinue;
|
46
46
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
@@ -136,7 +136,7 @@ var ProAction = function ProAction(props) {
|
|
136
136
|
return _context.abrupt("return", false);
|
137
137
|
case 44:
|
138
138
|
if (currentIndex + 1 < length) {
|
139
|
-
|
139
|
+
_onActionRun(currentIndex + 1, newServicesArray);
|
140
140
|
} else {
|
141
141
|
setState({
|
142
142
|
loading: false
|
@@ -154,7 +154,7 @@ var ProAction = function ProAction(props) {
|
|
154
154
|
}();
|
155
155
|
var ChildContent = /*#__PURE__*/React.cloneElement(children, {
|
156
156
|
onClick: function onClick() {
|
157
|
-
|
157
|
+
_onActionRun(0, []);
|
158
158
|
},
|
159
159
|
loading: state.loading
|
160
160
|
});
|
@@ -166,7 +166,7 @@ var ProAction = function ProAction(props) {
|
|
166
166
|
return _jsxs(_Fragment, {
|
167
167
|
children: [((_config$ = config[0]) === null || _config$ === void 0 ? void 0 : _config$.mode) === 'confirm' ? _jsx(_Popconfirm, {
|
168
168
|
onConfirm: function onConfirm() {
|
169
|
-
return
|
169
|
+
return _onActionRun(0, []);
|
170
170
|
},
|
171
171
|
title: ((_config$2 = config[0]) === null || _config$2 === void 0 ? void 0 : _config$2.title) || (locale === null || locale === void 0 ? void 0 : (_locale$ProAction2 = locale.ProAction) === null || _locale$ProAction2 === void 0 ? void 0 : _locale$ProAction2.defaultTitle),
|
172
172
|
children: children
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { IProDownloadProps } from './propsType';
|
2
2
|
declare const ProDownload: {
|
3
|
-
(props: IProDownloadProps): JSX.Element;
|
3
|
+
(props: IProDownloadProps): import("react/jsx-runtime").JSX.Element;
|
4
4
|
downLoadRequest: import("./utils").DownloadRequestProps;
|
5
5
|
};
|
6
6
|
export default ProDownload;
|
package/es/ProDownload/index.js
CHANGED
@@ -37,7 +37,7 @@ var ProDownload = function ProDownload(props) {
|
|
37
37
|
onErrorConfig = _ref.onError;
|
38
38
|
defaultProps.headers = _objectSpread(_objectSpread({}, headers), defaultProps.headers);
|
39
39
|
var handDownload = /*#__PURE__*/function () {
|
40
|
-
var _ref2 = _asyncToGenerator(
|
40
|
+
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
41
41
|
var _params;
|
42
42
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
43
43
|
while (1) switch (_context.prev = _context.next) {
|
@@ -131,7 +131,7 @@ var ProDownload = function ProDownload(props) {
|
|
131
131
|
return _jsx(_Button, _objectSpread(_objectSpread({
|
132
132
|
className: cls,
|
133
133
|
onClick: function () {
|
134
|
-
var _onClick = _asyncToGenerator(
|
134
|
+
var _onClick = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
|
135
135
|
var res;
|
136
136
|
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
137
137
|
while (1) switch (_context3.prev = _context3.next) {
|
@@ -146,7 +146,7 @@ var ProDownload = function ProDownload(props) {
|
|
146
146
|
_context3.next = 13;
|
147
147
|
break;
|
148
148
|
}
|
149
|
-
if (!(beforeDownload instanceof /*#__PURE__*/_asyncToGenerator(
|
149
|
+
if (!(beforeDownload instanceof /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
150
150
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
151
151
|
while (1) switch (_context2.prev = _context2.next) {
|
152
152
|
case 0:
|
package/es/ProDownload/utils.js
CHANGED
@@ -70,7 +70,7 @@ export function getFilenameFromContentDisposition(contentDisposition) {
|
|
70
70
|
}
|
71
71
|
// 发起请求获取下载文件
|
72
72
|
export var DownloadRequest = /*#__PURE__*/function () {
|
73
|
-
var _ref3 = _asyncToGenerator(
|
73
|
+
var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(_ref2) {
|
74
74
|
var url, _ref2$method, method, params, headers, transformResponse, fileName, onFinish, onError, config, res, fileBlob, data, contentFileName;
|
75
75
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
76
76
|
while (1) switch (_context2.prev = _context2.next) {
|
@@ -97,8 +97,8 @@ export var DownloadRequest = /*#__PURE__*/function () {
|
|
97
97
|
config.headers = _objectSpread(_objectSpread({}, config.headers), headers);
|
98
98
|
}
|
99
99
|
_context2.next = 7;
|
100
|
-
return fetch(url, config).then(
|
101
|
-
var _ref4 = _asyncToGenerator(
|
100
|
+
return fetch(url, config).then(/*#__PURE__*/function () {
|
101
|
+
var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(response) {
|
102
102
|
var _data, errorMsg;
|
103
103
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
104
104
|
while (1) switch (_context.prev = _context.next) {
|
@@ -47,7 +47,7 @@ var ProDrawer = function ProDrawer(_ref) {
|
|
47
47
|
loading = _useState2[0],
|
48
48
|
toggleLoading = _useState2[1];
|
49
49
|
var noRenderFooter = isView || footer === false || footer === null;
|
50
|
-
var onConfirm = useCallback(
|
50
|
+
var onConfirm = useCallback(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
51
51
|
var _locale$ProDrawerForm, _locale$ProDrawerForm2, _locale$ProDrawerForm3, _locale$ProDrawerForm4;
|
52
52
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
53
53
|
while (1) switch (_context.prev = _context.next) {
|
@@ -75,7 +75,7 @@ var ProDrawer = function ProDrawer(_ref) {
|
|
75
75
|
}
|
76
76
|
}, _callee);
|
77
77
|
})), [onCancel, modalRef.current]);
|
78
|
-
var handleFinish = useCallback(
|
78
|
+
var handleFinish = useCallback(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
79
79
|
var values, _error$errorFields, _error$errorFields$;
|
80
80
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
81
81
|
while (1) switch (_context2.prev = _context2.next) {
|
@@ -167,7 +167,7 @@ var ProDrawer = function ProDrawer(_ref) {
|
|
167
167
|
if (noRenderFooter) {
|
168
168
|
return null;
|
169
169
|
}
|
170
|
-
if (
|
170
|
+
if (/*#__PURE__*/React.isValidElement(footer)) {
|
171
171
|
return _jsx("div", {
|
172
172
|
className: "pro-drawer-footer",
|
173
173
|
children: footer
|
@@ -177,7 +177,7 @@ var ProDrawer = function ProDrawer(_ref) {
|
|
177
177
|
return _jsx("div", {
|
178
178
|
className: "pro-drawer-footer",
|
179
179
|
children: footer.map(function (item) {
|
180
|
-
if (
|
180
|
+
if (/*#__PURE__*/React.isValidElement(item)) {
|
181
181
|
return item;
|
182
182
|
}
|
183
183
|
return false;
|
@@ -53,7 +53,7 @@ var ProModal = function ProModal(_ref) {
|
|
53
53
|
'pro-modal-no-footer': noRenderFooter,
|
54
54
|
'pro-modal-footer-shadow': height >= 450
|
55
55
|
}]);
|
56
|
-
var handleFinish = useCallback(
|
56
|
+
var handleFinish = useCallback(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
57
57
|
var values, _error$errorFields, _error$errorFields$;
|
58
58
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
59
59
|
while (1) switch (_context.prev = _context.next) {
|
@@ -147,7 +147,7 @@ var ProModal = function ProModal(_ref) {
|
|
147
147
|
if (noRenderFooter) {
|
148
148
|
return null;
|
149
149
|
}
|
150
|
-
if (
|
150
|
+
if (/*#__PURE__*/React.isValidElement(footer)) {
|
151
151
|
return _jsx("div", {
|
152
152
|
className: "pro-drawer-footer",
|
153
153
|
children: footer
|
@@ -157,7 +157,7 @@ var ProModal = function ProModal(_ref) {
|
|
157
157
|
return _jsx("div", {
|
158
158
|
className: "pro-drawer-footer",
|
159
159
|
children: footer.map(function (item) {
|
160
|
-
if (
|
160
|
+
if (/*#__PURE__*/React.isValidElement(item)) {
|
161
161
|
return item;
|
162
162
|
}
|
163
163
|
return false;
|
package/es/ProEditLabel/index.js
CHANGED
@@ -134,7 +134,7 @@ var ProEditLabel = function ProEditLabel(_ref) {
|
|
134
134
|
* pop确认回调
|
135
135
|
*/
|
136
136
|
var onConfirmHandle = /*#__PURE__*/function () {
|
137
|
-
var _ref2 = _asyncToGenerator(
|
137
|
+
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
138
138
|
var res, value;
|
139
139
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
140
140
|
while (1) switch (_context.prev = _context.next) {
|
@@ -221,7 +221,7 @@ var ProEditLabel = function ProEditLabel(_ref) {
|
|
221
221
|
})
|
222
222
|
});
|
223
223
|
if (disabled) {
|
224
|
-
if (
|
224
|
+
if (/*#__PURE__*/React.isValidElement(children)) {
|
225
225
|
return children;
|
226
226
|
}
|
227
227
|
if (props.value && !popupProps) {
|
@@ -253,7 +253,7 @@ var ProEditLabel = function ProEditLabel(_ref) {
|
|
253
253
|
if (mode === 'popup') {
|
254
254
|
// 查看时内容渲染
|
255
255
|
var labelRender = function labelRender() {
|
256
|
-
if (
|
256
|
+
if (/*#__PURE__*/React.isValidElement(children)) {
|
257
257
|
return children;
|
258
258
|
}
|
259
259
|
return TextNode;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const ActionButton: ({ record, index, config, btnConfig }: any) => JSX.Element;
|
1
|
+
declare const ActionButton: ({ record, index, config, btnConfig }: any) => import("react/jsx-runtime").JSX.Element;
|
2
2
|
export default ActionButton;
|
@@ -116,7 +116,7 @@ var ActionButton = function ActionButton(_ref) {
|
|
116
116
|
disabled: isDisabled,
|
117
117
|
okText: locale.ProEditTable.confirm,
|
118
118
|
cancelText: locale.ProEditTable.cancel,
|
119
|
-
children: /*#__PURE__*/React.isValidElement(btnConfig.label) ? (
|
119
|
+
children: /*#__PURE__*/React.isValidElement(btnConfig.label) ? (/*#__PURE__*/React.cloneElement(btnConfig.label, _objectSpread(_objectSpread({}, omit(delBtnProps, ['buttonProps', 'isEditable', 'onEvent'])), {}, {
|
120
120
|
record: record,
|
121
121
|
index: index,
|
122
122
|
disabled: isDisabled
|
@@ -126,7 +126,7 @@ var ActionButton = function ActionButton(_ref) {
|
|
126
126
|
children: btnConfig.label
|
127
127
|
}))
|
128
128
|
}) : _jsx(_Fragment, {
|
129
|
-
children: /*#__PURE__*/React.isValidElement(btnConfig.label) ? (
|
129
|
+
children: /*#__PURE__*/React.isValidElement(btnConfig.label) ? (/*#__PURE__*/React.cloneElement(btnConfig.label, _objectSpread(_objectSpread({}, omit(delBtnProps, ['buttonProps', 'isEditable', 'onEvent'])), {}, {
|
130
130
|
record: record,
|
131
131
|
index: index,
|
132
132
|
disabled: isDisabled,
|
@@ -157,7 +157,7 @@ var ActionButton = function ActionButton(_ref) {
|
|
157
157
|
}))
|
158
158
|
})
|
159
159
|
}) : _jsx(_Fragment, {
|
160
|
-
children: /*#__PURE__*/React.isValidElement(btnConfig.label) ? (
|
160
|
+
children: /*#__PURE__*/React.isValidElement(btnConfig.label) ? (/*#__PURE__*/React.cloneElement(btnConfig.label, _objectSpread(_objectSpread({}, omit(actionBtnProps, ['buttonProps', 'isEditable', 'onEvent'])), {}, {
|
161
161
|
record: record,
|
162
162
|
index: index
|
163
163
|
}))) : _jsx(_Button, _objectSpread(_objectSpread({
|