@steedos-widgets/amis-object 1.3.4-beta.15 → 1.3.4-beta.17
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/amis-object.cjs.css +179 -23
- package/dist/amis-object.cjs.js +180 -47
- package/dist/amis-object.cjs.js.map +1 -1
- package/dist/amis-object.esm.css +179 -23
- package/dist/amis-object.esm.js +181 -48
- package/dist/amis-object.esm.js.map +1 -1
- package/dist/amis-object.umd.css +179 -23
- package/dist/amis-object.umd.js +117 -101
- package/dist/amis-object.umd.js.map +1 -1
- package/dist/assets.json +21 -21
- package/dist/meta.js +88 -11
- package/package.json +3 -3
package/dist/amis-object.cjs.css
CHANGED
|
@@ -523,6 +523,9 @@ fieldset.antd-Collapse > legend{
|
|
|
523
523
|
.block {
|
|
524
524
|
display: block
|
|
525
525
|
}
|
|
526
|
+
.inline-block {
|
|
527
|
+
display: inline-block
|
|
528
|
+
}
|
|
526
529
|
.inline {
|
|
527
530
|
display: inline
|
|
528
531
|
}
|
|
@@ -604,6 +607,9 @@ fieldset.antd-Collapse > legend{
|
|
|
604
607
|
.w-10 {
|
|
605
608
|
width: 2.5rem
|
|
606
609
|
}
|
|
610
|
+
.w-auto {
|
|
611
|
+
width: auto
|
|
612
|
+
}
|
|
607
613
|
.w-12 {
|
|
608
614
|
width: 3rem
|
|
609
615
|
}
|
|
@@ -613,9 +619,6 @@ fieldset.antd-Collapse > legend{
|
|
|
613
619
|
.\!w-10 {
|
|
614
620
|
width: 2.5rem !important
|
|
615
621
|
}
|
|
616
|
-
.w-auto {
|
|
617
|
-
width: auto
|
|
618
|
-
}
|
|
619
622
|
.w-64 {
|
|
620
623
|
width: 16rem
|
|
621
624
|
}
|
|
@@ -668,6 +671,9 @@ fieldset.antd-Collapse > legend{
|
|
|
668
671
|
.flex-shrink-0 {
|
|
669
672
|
flex-shrink: 0
|
|
670
673
|
}
|
|
674
|
+
.grow {
|
|
675
|
+
flex-grow: 1
|
|
676
|
+
}
|
|
671
677
|
.-translate-x-0 {
|
|
672
678
|
--tw-translate-x: -0px;
|
|
673
679
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))
|
|
@@ -1686,52 +1692,99 @@ body.steedos {
|
|
|
1686
1692
|
justify-content: unset;
|
|
1687
1693
|
}
|
|
1688
1694
|
/*
|
|
1689
|
-
列表快速搜索,手机端及PC
|
|
1695
|
+
列表快速搜索,手机端及PC端分栏模式需要独占一行,另外card模式,即antd-Cards-toolbar也一样
|
|
1690
1696
|
*/
|
|
1691
|
-
.
|
|
1697
|
+
.page-list-split .steedos-object-listview .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child,
|
|
1698
|
+
.page-list-split .steedos-object-listview .antd-Crud .antd-Cards-toolbar:first-child .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child {
|
|
1692
1699
|
width: 100%;
|
|
1693
1700
|
margin-top: 8px;
|
|
1694
1701
|
}
|
|
1695
|
-
.
|
|
1702
|
+
.page-list-split .steedos-object-listview .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper,
|
|
1703
|
+
.page-list-split .steedos-object-listview .antd-Crud .antd-Cards-toolbar:first-child .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper {
|
|
1696
1704
|
width: 100%;
|
|
1697
1705
|
}
|
|
1698
|
-
.
|
|
1699
|
-
|
|
1700
|
-
}
|
|
1701
|
-
.page-list-split .steedos-object-listview .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child {
|
|
1702
|
-
width: 100%;
|
|
1703
|
-
margin-top: 8px;
|
|
1704
|
-
}
|
|
1705
|
-
.page-list-split .steedos-object-listview .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper {
|
|
1706
|
-
width: 100%;
|
|
1707
|
-
}
|
|
1708
|
-
.page-list-split .steedos-object-listview .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper .antd-SearchBox.is-active {
|
|
1706
|
+
.page-list-split .steedos-object-listview .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper .antd-SearchBox.is-active,
|
|
1707
|
+
.page-list-split .steedos-object-listview .antd-Crud .antd-Cards-toolbar:first-child .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper .antd-SearchBox.is-active {
|
|
1709
1708
|
width: 100%;
|
|
1710
1709
|
}
|
|
1711
1710
|
@media (max-width: 768px) {
|
|
1712
|
-
.steedos-object-table .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child
|
|
1711
|
+
.steedos-object-table .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child,
|
|
1712
|
+
.steedos-object-table .antd-Crud .antd-Cards-toolbar:first-child .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child {
|
|
1713
1713
|
width: 100%;
|
|
1714
1714
|
margin-top: 8px;
|
|
1715
1715
|
}
|
|
1716
|
-
.steedos-object-table .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper
|
|
1716
|
+
.steedos-object-table .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper,
|
|
1717
|
+
.steedos-object-table .antd-Crud .antd-Cards-toolbar:first-child .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper {
|
|
1717
1718
|
width: 100%;
|
|
1718
1719
|
}
|
|
1719
|
-
.steedos-object-table .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper .antd-SearchBox.is-active
|
|
1720
|
+
.steedos-object-table .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper .antd-SearchBox.is-active,
|
|
1721
|
+
.steedos-object-table .antd-Crud .antd-Cards-toolbar:first-child .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper .antd-SearchBox.is-active {
|
|
1720
1722
|
width: 100%;
|
|
1721
1723
|
}
|
|
1722
|
-
.antd-Modal .antd-Modal-body .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child
|
|
1724
|
+
.antd-Modal .antd-Modal-body .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child,
|
|
1725
|
+
.antd-Modal .antd-Modal-body .antd-Crud .antd-Cards-toolbar:first-child .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child {
|
|
1723
1726
|
width: 100%;
|
|
1724
1727
|
margin-top: 8px;
|
|
1725
1728
|
}
|
|
1726
|
-
.antd-Modal .antd-Modal-body .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper
|
|
1729
|
+
.antd-Modal .antd-Modal-body .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper,
|
|
1730
|
+
.antd-Modal .antd-Modal-body .antd-Crud .antd-Cards-toolbar:first-child .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper {
|
|
1727
1731
|
width: 100%;
|
|
1728
1732
|
}
|
|
1729
|
-
.antd-Modal .antd-Modal-body .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper .antd-SearchBox.is-active
|
|
1733
|
+
.antd-Modal .antd-Modal-body .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper .antd-SearchBox.is-active,
|
|
1734
|
+
.antd-Modal .antd-Modal-body .antd-Crud .antd-Cards-toolbar:first-child .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper .antd-SearchBox.is-active {
|
|
1730
1735
|
width: 100%;
|
|
1731
1736
|
}
|
|
1737
|
+
.steedos-object-table .antd-Crud > form.antd-Form:before {
|
|
1738
|
+
border-bottom: none;
|
|
1739
|
+
}
|
|
1740
|
+
}
|
|
1741
|
+
.page-list-grid > .antd-Page > .antd-Page-content > .antd-Page-main > .antd-Page-body,
|
|
1742
|
+
.page-list-split > .antd-Page > .antd-Page-content > .antd-Page-main > .antd-Page-body {
|
|
1743
|
+
height: 100%;
|
|
1744
|
+
}
|
|
1745
|
+
.page-list-grid .steedos-object-listview .steedos-object-listview-content-wrapper .steedos-object-listview-content,
|
|
1746
|
+
.page-list-split .steedos-object-listview .steedos-object-listview-content-wrapper .steedos-object-listview-content {
|
|
1747
|
+
height: calc(100% - 78px);
|
|
1748
|
+
}
|
|
1749
|
+
.page-list-grid .steedos-object-listview .steedos-object-listview-content-wrapper .steedos-object-listview-content .steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-body,
|
|
1750
|
+
.page-list-split .steedos-object-listview .steedos-object-listview-content-wrapper .steedos-object-listview-content .steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-body {
|
|
1751
|
+
max-height: calc(100% - 110px);
|
|
1752
|
+
overflow-y: auto;
|
|
1753
|
+
}
|
|
1754
|
+
.page-list-split .steedos-object-listview .steedos-object-listview-content-wrapper .steedos-object-listview-content .steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards {
|
|
1755
|
+
width: 386px;
|
|
1756
|
+
}
|
|
1757
|
+
.page-list-split .steedos-object-listview .steedos-object-listview-content-wrapper .steedos-object-listview-content .steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-body {
|
|
1758
|
+
max-height: calc(100% - 142px);
|
|
1759
|
+
}
|
|
1760
|
+
.page-list-split .steedos-object-listview .steedos-object-listview-content-wrapper .steedos-object-listview-content .steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-body > div {
|
|
1761
|
+
flex-basis: 100%;
|
|
1762
|
+
max-width: 100%;
|
|
1763
|
+
padding: 0;
|
|
1764
|
+
}
|
|
1765
|
+
.page-list-split .steedos-object-listview .steedos-object-listview-content-wrapper .steedos-object-listview-content .steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-toolbar {
|
|
1766
|
+
/* crud的card模式不支持headerToolbarClassName和footerToolbarClassName,这里只能用first-child和last-child来区别 */
|
|
1767
|
+
}
|
|
1768
|
+
.page-list-split .steedos-object-listview .steedos-object-listview-content-wrapper .steedos-object-listview-content .steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-toolbar:last-child {
|
|
1769
|
+
margin-top: -6px;
|
|
1770
|
+
}
|
|
1771
|
+
@media (max-width: 768px) {
|
|
1772
|
+
.page-list-grid .steedos-object-listview .steedos-object-listview-content-wrapper .steedos-object-listview-content .steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-body,
|
|
1773
|
+
.page-list-split .steedos-object-listview .steedos-object-listview-content-wrapper .steedos-object-listview-content .steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-body {
|
|
1774
|
+
max-height: unset;
|
|
1775
|
+
}
|
|
1776
|
+
.page-list-grid .steedos-object-listview .steedos-object-listview-content-wrapper .steedos-object-listview-content .steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-toolbar,
|
|
1777
|
+
.page-list-split .steedos-object-listview .steedos-object-listview-content-wrapper .steedos-object-listview-content .steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-toolbar {
|
|
1778
|
+
/* crud的card模式不支持headerToolbarClassName和footerToolbarClassName,这里只能用first-child和last-child来区别 */
|
|
1779
|
+
}
|
|
1780
|
+
.page-list-grid .steedos-object-listview .steedos-object-listview-content-wrapper .steedos-object-listview-content .steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-toolbar:last-child,
|
|
1781
|
+
.page-list-split .steedos-object-listview .steedos-object-listview-content-wrapper .steedos-object-listview-content .steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-toolbar:last-child {
|
|
1782
|
+
margin-top: -6px;
|
|
1783
|
+
}
|
|
1732
1784
|
}
|
|
1733
1785
|
|
|
1734
1786
|
@media (min-width: 767px) {
|
|
1787
|
+
/* 列表快速编辑功能样式 */
|
|
1735
1788
|
.steedos-object-table tbody td.antd-Field--quickEditable > div {
|
|
1736
1789
|
display: flex;
|
|
1737
1790
|
align-items: center;
|
|
@@ -1756,6 +1809,109 @@ body.steedos {
|
|
|
1756
1809
|
min-width: 12em;
|
|
1757
1810
|
}
|
|
1758
1811
|
}
|
|
1812
|
+
.steedos-object-table.steedos-crud-mode-cards .antd-Crud {
|
|
1813
|
+
height: 100%;
|
|
1814
|
+
}
|
|
1815
|
+
.steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards {
|
|
1816
|
+
height: 100%;
|
|
1817
|
+
}
|
|
1818
|
+
.steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-toolbar {
|
|
1819
|
+
/* crud的card模式不支持headerToolbarClassName和footerToolbarClassName,这里只能用first-child和last-child来区别 */
|
|
1820
|
+
}
|
|
1821
|
+
.steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-toolbar:first-child {
|
|
1822
|
+
padding-top: 0.5rem;
|
|
1823
|
+
padding-bottom: 0.5rem;
|
|
1824
|
+
padding-left: 1rem;
|
|
1825
|
+
padding-right: 1rem;
|
|
1826
|
+
background-color: rgb(243 244 246);
|
|
1827
|
+
border-color: rgb(209 213 219);
|
|
1828
|
+
border-style: solid;
|
|
1829
|
+
border-bottom-width: 1px;
|
|
1830
|
+
}
|
|
1831
|
+
.steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-toolbar:last-child {
|
|
1832
|
+
padding-left: 1rem;
|
|
1833
|
+
padding-right: 1rem;
|
|
1834
|
+
background-color: transparent;
|
|
1835
|
+
border-bottom-width: 0;
|
|
1836
|
+
margin-bottom: 0;
|
|
1837
|
+
}
|
|
1838
|
+
.steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-body {
|
|
1839
|
+
margin: 0.25rem;
|
|
1840
|
+
}
|
|
1841
|
+
.steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-body .antd-Card .antd-Card-heading .antd-Card-meta {
|
|
1842
|
+
overflow: hidden;
|
|
1843
|
+
}
|
|
1844
|
+
.steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-body .antd-Card .antd-Card-heading .antd-Card-meta .antd-Card-title .antd-TplField a {
|
|
1845
|
+
font-size: 16px;
|
|
1846
|
+
}
|
|
1847
|
+
.steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-body .antd-Card .antd-Card-body {
|
|
1848
|
+
margin-top: -10px;
|
|
1849
|
+
}
|
|
1850
|
+
.steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-body .antd-Card .antd-Card-body .antd-Card-field .antd-Card-fieldLabel {
|
|
1851
|
+
color: inherit;
|
|
1852
|
+
margin-right: 6px;
|
|
1853
|
+
flex: 1;
|
|
1854
|
+
display: block;
|
|
1855
|
+
white-space: nowrap;
|
|
1856
|
+
overflow: hidden;
|
|
1857
|
+
text-overflow: ellipsis;
|
|
1858
|
+
}
|
|
1859
|
+
.steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-body .antd-Card .antd-Card-body .antd-Card-field .antd-Card-fieldLabel:after {
|
|
1860
|
+
content: ":";
|
|
1861
|
+
}
|
|
1862
|
+
.steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-body .antd-Card .antd-Card-body .antd-Card-field .antd-Card-fieldValue {
|
|
1863
|
+
flex: 3;
|
|
1864
|
+
display: block;
|
|
1865
|
+
white-space: nowrap;
|
|
1866
|
+
overflow: hidden;
|
|
1867
|
+
text-overflow: ellipsis;
|
|
1868
|
+
}
|
|
1869
|
+
.steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-body .antd-Card .antd-Card-body .antd-Card-field .antd-Card-fieldValue .antd-TplField,
|
|
1870
|
+
.steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-body .antd-Card .antd-Card-body .antd-Card-field .antd-Card-fieldValue .antd-PlainField {
|
|
1871
|
+
display: block;
|
|
1872
|
+
white-space: nowrap;
|
|
1873
|
+
overflow: hidden;
|
|
1874
|
+
text-overflow: ellipsis;
|
|
1875
|
+
}
|
|
1876
|
+
@media (max-width: 768px) {
|
|
1877
|
+
.steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-body .antd-Card {
|
|
1878
|
+
border-left: none;
|
|
1879
|
+
border-right: none;
|
|
1880
|
+
border-top: none;
|
|
1881
|
+
border-radius: unset;
|
|
1882
|
+
margin-top: -10px;
|
|
1883
|
+
margin-left: 8px;
|
|
1884
|
+
margin-right: 8px;
|
|
1885
|
+
}
|
|
1886
|
+
.steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-body .antd-Card .antd-Card-heading,
|
|
1887
|
+
.steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-body .antd-Card .antd-Card-body {
|
|
1888
|
+
padding: var(--gap-sm);
|
|
1889
|
+
}
|
|
1890
|
+
}
|
|
1891
|
+
.page-list-split .steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-body .antd-Card {
|
|
1892
|
+
border-left: none;
|
|
1893
|
+
border-right: none;
|
|
1894
|
+
border-top: none;
|
|
1895
|
+
border-radius: unset;
|
|
1896
|
+
margin-top: -10px;
|
|
1897
|
+
margin-left: 8px;
|
|
1898
|
+
margin-right: 8px;
|
|
1899
|
+
}
|
|
1900
|
+
.page-list-split .steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-body .antd-Card .antd-Card-heading,
|
|
1901
|
+
.page-list-split .steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-body .antd-Card .antd-Card-body {
|
|
1902
|
+
padding: var(--gap-sm);
|
|
1903
|
+
}
|
|
1904
|
+
@media (max-width: 768px) {
|
|
1905
|
+
.steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-toolbar {
|
|
1906
|
+
/* crud的card模式不支持headerToolbarClassName和footerToolbarClassName,这里只能用first-child和last-child来区别 */
|
|
1907
|
+
}
|
|
1908
|
+
.steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-toolbar:last-child {
|
|
1909
|
+
text-align: center;
|
|
1910
|
+
}
|
|
1911
|
+
.steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-toolbar:last-child .antd-Crud-toolbar-item.antd-Crud-toolbar-item--right {
|
|
1912
|
+
float: none;
|
|
1913
|
+
}
|
|
1914
|
+
}
|
|
1759
1915
|
|
|
1760
1916
|
@media (max-width: 768px) {
|
|
1761
1917
|
.record-detail-header-name {
|