linkmore-design 1.1.5 → 1.1.6
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/LmEditTable/util.d.ts +6 -0
- package/dist/LmFilter/filterFns/index.d.ts +1 -0
- package/dist/LmUpload/fns/index.d.ts +1 -1
- package/dist/index.umd.css +93 -93
- package/dist/index.umd.js +351 -161
- package/dist/index.umd.min.css +1 -1
- package/dist/index.umd.min.js +7 -7
- package/dist/variables.css +22 -8
- package/es/Button/index.js +4 -1
- package/es/Button/style/index.css +0 -4
- package/es/Button/style/variables.css +0 -4
- package/es/CardTable/style/index.css +19 -4
- package/es/CardTable/style/variables.css +19 -4
- package/es/Input/index.js +3 -3
- package/es/LmEditTable/EditTable.js +189 -116
- package/es/LmEditTable/style/index.css +3 -0
- package/es/LmEditTable/style/variables.css +3 -0
- package/es/LmEditTable/util.d.ts +6 -0
- package/es/LmEditTable/util.js +29 -1
- package/es/LmFilter/clearFilter/index.js +3 -1
- package/es/LmFilter/components/EmptyFilter.js +2 -2
- package/es/LmFilter/filterFns/index.d.ts +1 -0
- package/es/LmFilter/filterFns/index.js +6 -1
- package/es/LmFilter/wrapper/FilterRoot.js +1 -1
- package/es/LmTable/Table.js +1 -1
- package/es/LmUpload/LmUpload.js +1 -0
- package/es/LmUpload/fns/index.d.ts +1 -1
- package/es/LmUpload/fns/index.js +105 -33
- package/es/message/index.js +4 -1
- package/es/styles/variables.css +22 -8
- package/lib/Button/index.js +6 -1
- package/lib/Button/style/index.css +0 -4
- package/lib/Button/style/variables.css +0 -4
- package/lib/CardTable/style/index.css +19 -4
- package/lib/CardTable/style/variables.css +19 -4
- package/lib/Input/index.js +3 -3
- package/lib/LmEditTable/EditTable.js +188 -115
- package/lib/LmEditTable/style/index.css +3 -0
- package/lib/LmEditTable/style/variables.css +3 -0
- package/lib/LmEditTable/util.d.ts +6 -0
- package/lib/LmEditTable/util.js +40 -1
- package/lib/LmFilter/clearFilter/index.js +3 -1
- package/lib/LmFilter/components/EmptyFilter.js +2 -2
- package/lib/LmFilter/filterFns/index.d.ts +1 -0
- package/lib/LmFilter/filterFns/index.js +6 -1
- package/lib/LmFilter/wrapper/FilterRoot.js +1 -1
- package/lib/LmTable/Table.js +1 -1
- package/lib/LmUpload/LmUpload.js +1 -0
- package/lib/LmUpload/fns/index.d.ts +1 -1
- package/lib/LmUpload/fns/index.js +105 -31
- package/lib/message/index.js +6 -1
- package/lib/styles/variables.css +22 -8
- package/package.json +1 -1
|
@@ -1 +1,7 @@
|
|
|
1
1
|
export declare function isObjEmpty(obj: Record<string, any>): boolean;
|
|
2
|
+
export declare function deepDataSourcePreKeys(dataSource: any[], rowKey: string): any;
|
|
3
|
+
export declare function isExpandRow(children: any): boolean;
|
|
4
|
+
declare const _default: {
|
|
5
|
+
isObjEmpty: typeof isObjEmpty;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
@@ -51,6 +51,7 @@ declare const useCoreOptions: ({ state, dispatch, props }: {
|
|
|
51
51
|
};
|
|
52
52
|
type: string;
|
|
53
53
|
};
|
|
54
|
+
getHasFilter: () => boolean;
|
|
54
55
|
setFilterValue: (itemValue: any, item: any) => void;
|
|
55
56
|
setFilterFieldValue: (field: any, value: any) => void;
|
|
56
57
|
setLocalization: (localization?: any) => void;
|
|
@@ -6,7 +6,7 @@ declare const useCoreOptions: ({ state, dispatch, props }: {
|
|
|
6
6
|
CoreMethods: {
|
|
7
7
|
getIsMaxCount: () => boolean;
|
|
8
8
|
getFileFields: (fileParams: any) => {};
|
|
9
|
-
beforeUpload: (e: any) =>
|
|
9
|
+
beforeUpload: (e: any) => Promise<void>;
|
|
10
10
|
checkOver: (file: any) => Promise<void>;
|
|
11
11
|
getUploadStatus: () => {
|
|
12
12
|
uploading: boolean;
|
package/dist/index.umd.css
CHANGED
|
@@ -1788,6 +1788,99 @@ html {
|
|
|
1788
1788
|
transition: height 0.2s cubic-bezier(0.645, 0.045, 0.355, 1), opacity 0.2s cubic-bezier(0.645, 0.045, 0.355, 1) !important;
|
|
1789
1789
|
}
|
|
1790
1790
|
|
|
1791
|
+
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
|
|
1792
|
+
/* stylelint-disable no-duplicate-selectors */
|
|
1793
|
+
/* stylelint-disable */
|
|
1794
|
+
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
|
|
1795
|
+
.ant-message {
|
|
1796
|
+
box-sizing: border-box;
|
|
1797
|
+
margin: 0;
|
|
1798
|
+
padding: 0;
|
|
1799
|
+
color: rgba(0, 0, 0, 0.85);
|
|
1800
|
+
font-size: 14px;
|
|
1801
|
+
font-variant: tabular-nums;
|
|
1802
|
+
line-height: 1.5715;
|
|
1803
|
+
list-style: none;
|
|
1804
|
+
font-feature-settings: 'tnum';
|
|
1805
|
+
position: fixed;
|
|
1806
|
+
top: 8px;
|
|
1807
|
+
left: 0;
|
|
1808
|
+
z-index: 1010;
|
|
1809
|
+
width: 100%;
|
|
1810
|
+
pointer-events: none;
|
|
1811
|
+
}
|
|
1812
|
+
.ant-message-notice {
|
|
1813
|
+
padding: 8px;
|
|
1814
|
+
text-align: center;
|
|
1815
|
+
}
|
|
1816
|
+
.ant-message-notice-content {
|
|
1817
|
+
display: inline-block;
|
|
1818
|
+
padding: 10px 16px;
|
|
1819
|
+
background: #fff;
|
|
1820
|
+
border-radius: 2px;
|
|
1821
|
+
box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);
|
|
1822
|
+
pointer-events: all;
|
|
1823
|
+
}
|
|
1824
|
+
.ant-message-success .anticon {
|
|
1825
|
+
color: #52c41a;
|
|
1826
|
+
}
|
|
1827
|
+
.ant-message-error .anticon {
|
|
1828
|
+
color: #ff4d4f;
|
|
1829
|
+
}
|
|
1830
|
+
.ant-message-warning .anticon {
|
|
1831
|
+
color: #faad14;
|
|
1832
|
+
}
|
|
1833
|
+
.ant-message-info .anticon,
|
|
1834
|
+
.ant-message-loading .anticon {
|
|
1835
|
+
color: #1890ff;
|
|
1836
|
+
}
|
|
1837
|
+
.ant-message .anticon {
|
|
1838
|
+
position: relative;
|
|
1839
|
+
top: 1px;
|
|
1840
|
+
margin-right: 8px;
|
|
1841
|
+
font-size: 16px;
|
|
1842
|
+
}
|
|
1843
|
+
.ant-message-notice.ant-move-up-leave.ant-move-up-leave-active {
|
|
1844
|
+
-webkit-animation-name: MessageMoveOut;
|
|
1845
|
+
animation-name: MessageMoveOut;
|
|
1846
|
+
-webkit-animation-duration: 0.3s;
|
|
1847
|
+
animation-duration: 0.3s;
|
|
1848
|
+
}
|
|
1849
|
+
@-webkit-keyframes MessageMoveOut {
|
|
1850
|
+
0% {
|
|
1851
|
+
max-height: 150px;
|
|
1852
|
+
padding: 8px;
|
|
1853
|
+
opacity: 1;
|
|
1854
|
+
}
|
|
1855
|
+
100% {
|
|
1856
|
+
max-height: 0;
|
|
1857
|
+
padding: 0;
|
|
1858
|
+
opacity: 0;
|
|
1859
|
+
}
|
|
1860
|
+
}
|
|
1861
|
+
@keyframes MessageMoveOut {
|
|
1862
|
+
0% {
|
|
1863
|
+
max-height: 150px;
|
|
1864
|
+
padding: 8px;
|
|
1865
|
+
opacity: 1;
|
|
1866
|
+
}
|
|
1867
|
+
100% {
|
|
1868
|
+
max-height: 0;
|
|
1869
|
+
padding: 0;
|
|
1870
|
+
opacity: 0;
|
|
1871
|
+
}
|
|
1872
|
+
}
|
|
1873
|
+
.ant-message-rtl {
|
|
1874
|
+
direction: rtl;
|
|
1875
|
+
}
|
|
1876
|
+
.ant-message-rtl span {
|
|
1877
|
+
direction: rtl;
|
|
1878
|
+
}
|
|
1879
|
+
.ant-message-rtl .anticon {
|
|
1880
|
+
margin-right: 0;
|
|
1881
|
+
margin-left: 8px;
|
|
1882
|
+
}
|
|
1883
|
+
|
|
1791
1884
|
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
|
|
1792
1885
|
/* stylelint-disable no-duplicate-selectors */
|
|
1793
1886
|
/* stylelint-disable */
|
|
@@ -20015,99 +20108,6 @@ textarea.ant-input-number {
|
|
|
20015
20108
|
direction: rtl;
|
|
20016
20109
|
}
|
|
20017
20110
|
|
|
20018
|
-
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
|
|
20019
|
-
/* stylelint-disable no-duplicate-selectors */
|
|
20020
|
-
/* stylelint-disable */
|
|
20021
|
-
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
|
|
20022
|
-
.ant-message {
|
|
20023
|
-
box-sizing: border-box;
|
|
20024
|
-
margin: 0;
|
|
20025
|
-
padding: 0;
|
|
20026
|
-
color: rgba(0, 0, 0, 0.85);
|
|
20027
|
-
font-size: 14px;
|
|
20028
|
-
font-variant: tabular-nums;
|
|
20029
|
-
line-height: 1.5715;
|
|
20030
|
-
list-style: none;
|
|
20031
|
-
font-feature-settings: 'tnum';
|
|
20032
|
-
position: fixed;
|
|
20033
|
-
top: 8px;
|
|
20034
|
-
left: 0;
|
|
20035
|
-
z-index: 1010;
|
|
20036
|
-
width: 100%;
|
|
20037
|
-
pointer-events: none;
|
|
20038
|
-
}
|
|
20039
|
-
.ant-message-notice {
|
|
20040
|
-
padding: 8px;
|
|
20041
|
-
text-align: center;
|
|
20042
|
-
}
|
|
20043
|
-
.ant-message-notice-content {
|
|
20044
|
-
display: inline-block;
|
|
20045
|
-
padding: 10px 16px;
|
|
20046
|
-
background: #fff;
|
|
20047
|
-
border-radius: 2px;
|
|
20048
|
-
box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);
|
|
20049
|
-
pointer-events: all;
|
|
20050
|
-
}
|
|
20051
|
-
.ant-message-success .anticon {
|
|
20052
|
-
color: #52c41a;
|
|
20053
|
-
}
|
|
20054
|
-
.ant-message-error .anticon {
|
|
20055
|
-
color: #ff4d4f;
|
|
20056
|
-
}
|
|
20057
|
-
.ant-message-warning .anticon {
|
|
20058
|
-
color: #faad14;
|
|
20059
|
-
}
|
|
20060
|
-
.ant-message-info .anticon,
|
|
20061
|
-
.ant-message-loading .anticon {
|
|
20062
|
-
color: #1890ff;
|
|
20063
|
-
}
|
|
20064
|
-
.ant-message .anticon {
|
|
20065
|
-
position: relative;
|
|
20066
|
-
top: 1px;
|
|
20067
|
-
margin-right: 8px;
|
|
20068
|
-
font-size: 16px;
|
|
20069
|
-
}
|
|
20070
|
-
.ant-message-notice.ant-move-up-leave.ant-move-up-leave-active {
|
|
20071
|
-
-webkit-animation-name: MessageMoveOut;
|
|
20072
|
-
animation-name: MessageMoveOut;
|
|
20073
|
-
-webkit-animation-duration: 0.3s;
|
|
20074
|
-
animation-duration: 0.3s;
|
|
20075
|
-
}
|
|
20076
|
-
@-webkit-keyframes MessageMoveOut {
|
|
20077
|
-
0% {
|
|
20078
|
-
max-height: 150px;
|
|
20079
|
-
padding: 8px;
|
|
20080
|
-
opacity: 1;
|
|
20081
|
-
}
|
|
20082
|
-
100% {
|
|
20083
|
-
max-height: 0;
|
|
20084
|
-
padding: 0;
|
|
20085
|
-
opacity: 0;
|
|
20086
|
-
}
|
|
20087
|
-
}
|
|
20088
|
-
@keyframes MessageMoveOut {
|
|
20089
|
-
0% {
|
|
20090
|
-
max-height: 150px;
|
|
20091
|
-
padding: 8px;
|
|
20092
|
-
opacity: 1;
|
|
20093
|
-
}
|
|
20094
|
-
100% {
|
|
20095
|
-
max-height: 0;
|
|
20096
|
-
padding: 0;
|
|
20097
|
-
opacity: 0;
|
|
20098
|
-
}
|
|
20099
|
-
}
|
|
20100
|
-
.ant-message-rtl {
|
|
20101
|
-
direction: rtl;
|
|
20102
|
-
}
|
|
20103
|
-
.ant-message-rtl span {
|
|
20104
|
-
direction: rtl;
|
|
20105
|
-
}
|
|
20106
|
-
.ant-message-rtl .anticon {
|
|
20107
|
-
margin-right: 0;
|
|
20108
|
-
margin-left: 8px;
|
|
20109
|
-
}
|
|
20110
|
-
|
|
20111
20111
|
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
|
|
20112
20112
|
/* stylelint-disable no-duplicate-selectors */
|
|
20113
20113
|
/* stylelint-disable */
|