@emailmaker/filemanager 0.10.46 → 0.10.48
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/components/FileContent/FileContent.d.ts +1 -0
- package/components/FileManagerApp/ActionsHeader.d.ts +4 -0
- package/components/FileModals/FileModals.d.ts +4 -1
- package/components/ImageIcons/IconsControls.d.ts +26 -0
- package/components/ImageIcons/IconsGrid.d.ts +26 -0
- package/components/ImageIcons/IconsSearchForm.d.ts +13 -0
- package/components/ImageIcons/IconsTab.d.ts +4 -0
- package/components/ImageIcons/useIconsCopyToFolder.d.ts +28 -0
- package/components/ImageIcons/useStreamlineApi.d.ts +47 -0
- package/components/index.d.ts +1 -0
- package/constants/index.d.ts +2 -0
- package/file-manager.css +495 -21
- package/file-manager.esm.js +9 -9
- package/file-manager.esm.js.map +1 -1
- package/file-manager.js +1 -1
- package/file-manager.js.LICENSE.txt +2 -0
- package/hooks/core/files/actions/useFilesCopy.d.ts +1 -0
- package/hooks/core/files/useFilesAPI.d.ts +2 -1
- package/hooks/core/files/useFilesSelection.d.ts +1 -0
- package/hooks/core/types.d.ts +6 -1
- package/hooks/core/useFiles.d.ts +1 -0
- package/hooks/useCustomIcons.d.ts +1 -0
- package/hooks/useFileActions.d.ts +6 -1
- package/hooks/useFolderSelectionMenu.d.ts +26 -0
- package/notification.d.ts +27 -8
- package/package.json +1 -1
- package/types.d.ts +80 -7
- package/utils/errorMessages.d.ts +39 -2
- package/utils/fileFormatUtils.d.ts +39 -0
- package/utils/fileValidation.d.ts +23 -0
- package/utils/imageCompression.d.ts +1 -0
- package/utils/jsonDataProvider.d.ts +8 -0
- package/utils/mimeUtils.d.ts +12 -0
- package/utils/nameNormalization.d.ts +23 -0
- package/utils/svgParseUtils.d.ts +47 -0
- package/utils/svgToPng.d.ts +11 -0
package/file-manager.css
CHANGED
|
@@ -58,7 +58,9 @@
|
|
|
58
58
|
isolation: isolate;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
.em-filemanager .
|
|
61
|
+
.em-filemanager .emptyStateWrapper {
|
|
62
|
+
flex: 1;
|
|
63
|
+
display: flex;
|
|
62
64
|
justify-content: center;
|
|
63
65
|
align-items: center;
|
|
64
66
|
}
|
|
@@ -205,6 +207,10 @@
|
|
|
205
207
|
margin-right: 12px;
|
|
206
208
|
}
|
|
207
209
|
|
|
210
|
+
.em-filemanager .buttonSelectAll {
|
|
211
|
+
margin-left: 12px;
|
|
212
|
+
}
|
|
213
|
+
|
|
208
214
|
.em-filemanager .gridRow {
|
|
209
215
|
margin: 0;
|
|
210
216
|
gap: 20px;
|
|
@@ -469,6 +475,7 @@
|
|
|
469
475
|
padding: calc(var(--marginLG) * 1px);
|
|
470
476
|
padding-top: 57px !important;
|
|
471
477
|
padding-bottom: 57px !important;
|
|
478
|
+
margin: auto;
|
|
472
479
|
line-height: 1.3;
|
|
473
480
|
border: 1px solid var(--colorBorderSecondary);
|
|
474
481
|
border-radius: calc(var(--borderRadius) * 2px);
|
|
@@ -635,6 +642,37 @@
|
|
|
635
642
|
.em-filemanager .folderToolsField {
|
|
636
643
|
display: none;
|
|
637
644
|
}
|
|
645
|
+
.em-filemanager .folderToolsField .ant-btn {
|
|
646
|
+
height: 32px;
|
|
647
|
+
padding: 0 10px;
|
|
648
|
+
display: inline-flex;
|
|
649
|
+
align-items: center;
|
|
650
|
+
justify-content: center;
|
|
651
|
+
}
|
|
652
|
+
.em-filemanager .folderToolsField .ant-btn:first-child {
|
|
653
|
+
width: 32px;
|
|
654
|
+
min-width: 32px;
|
|
655
|
+
padding: 0;
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
.em-filemanager .inputButtonOk {
|
|
659
|
+
border: 1px solid var(--colorBorder);
|
|
660
|
+
margin-right: -11px;
|
|
661
|
+
}
|
|
662
|
+
.em-filemanager .inputButtonOk:hover {
|
|
663
|
+
color: var(--colorPrimary) !important;
|
|
664
|
+
border-color: var(--colorPrimary);
|
|
665
|
+
background-color: transparent !important;
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
.em-filemanager .clearTrashProgress {
|
|
669
|
+
margin-top: 16px;
|
|
670
|
+
}
|
|
671
|
+
.em-filemanager .clearTrashProgress .progressText {
|
|
672
|
+
text-align: center;
|
|
673
|
+
margin-top: 8px;
|
|
674
|
+
color: #666;
|
|
675
|
+
}
|
|
638
676
|
|
|
639
677
|
.em-filemanager .closeIcon {
|
|
640
678
|
color: rgba(0, 0, 0, 0.45) !important;
|
|
@@ -882,7 +920,7 @@
|
|
|
882
920
|
position: fixed;
|
|
883
921
|
bottom: 20px;
|
|
884
922
|
right: 20px;
|
|
885
|
-
z-index:
|
|
923
|
+
z-index: 4005;
|
|
886
924
|
max-width: 400px;
|
|
887
925
|
min-width: 320px;
|
|
888
926
|
}
|
|
@@ -954,6 +992,29 @@
|
|
|
954
992
|
flex-shrink: 0;
|
|
955
993
|
}
|
|
956
994
|
|
|
995
|
+
.em-filemanager .uploadProgress__common-error {
|
|
996
|
+
display: flex;
|
|
997
|
+
flex-direction: column;
|
|
998
|
+
gap: 4px;
|
|
999
|
+
padding: 10px 12px;
|
|
1000
|
+
margin-top: 12px;
|
|
1001
|
+
background: var(--colorErrorBg, #fff2f0);
|
|
1002
|
+
border-radius: 6px;
|
|
1003
|
+
border: 1px solid var(--colorErrorBorder, #ffccc7);
|
|
1004
|
+
}
|
|
1005
|
+
|
|
1006
|
+
.em-filemanager .uploadProgress__common-error-row {
|
|
1007
|
+
display: flex;
|
|
1008
|
+
align-items: flex-start;
|
|
1009
|
+
gap: 8px;
|
|
1010
|
+
}
|
|
1011
|
+
|
|
1012
|
+
.em-filemanager .uploadProgress__common-error-hint {
|
|
1013
|
+
font-size: 12px !important;
|
|
1014
|
+
margin-top: 4px;
|
|
1015
|
+
margin-left: 28px; /* icon width + gap */
|
|
1016
|
+
}
|
|
1017
|
+
|
|
957
1018
|
.em-filemanager .uploadProgress__list-wrapper {
|
|
958
1019
|
max-height: 300px;
|
|
959
1020
|
overflow-y: auto;
|
|
@@ -978,10 +1039,33 @@
|
|
|
978
1039
|
border-bottom: 1px solid var(--colorBorderSecondary);
|
|
979
1040
|
}
|
|
980
1041
|
|
|
1042
|
+
.em-filemanager .uploadProgress__file-item--error {
|
|
1043
|
+
padding: 10px 0 !important;
|
|
1044
|
+
}
|
|
1045
|
+
|
|
981
1046
|
.uploadProgress__body--error .uploadProgress__file-item {
|
|
982
1047
|
display: grid !important;
|
|
983
1048
|
}
|
|
984
1049
|
|
|
1050
|
+
/* Ошибка загрузки: стиль как у уведомления — читаемый список */
|
|
1051
|
+
.em-filemanager .uploadProgress__error-item {
|
|
1052
|
+
display: flex;
|
|
1053
|
+
flex-direction: column;
|
|
1054
|
+
gap: 4px;
|
|
1055
|
+
margin-top: 4px;
|
|
1056
|
+
}
|
|
1057
|
+
|
|
1058
|
+
.em-filemanager .uploadProgress__error-message {
|
|
1059
|
+
font-size: 12px !important;
|
|
1060
|
+
line-height: 1.3;
|
|
1061
|
+
}
|
|
1062
|
+
|
|
1063
|
+
.em-filemanager .uploadProgress__error-hint {
|
|
1064
|
+
font-size: 11px !important;
|
|
1065
|
+
line-height: 1.3;
|
|
1066
|
+
color: var(--colorTextSecondary) !important;
|
|
1067
|
+
}
|
|
1068
|
+
|
|
985
1069
|
.em-filemanager .uploadProgress__file-item:last-child {
|
|
986
1070
|
border-bottom: none;
|
|
987
1071
|
}
|
|
@@ -1010,21 +1094,12 @@
|
|
|
1010
1094
|
margin-top: 4px;
|
|
1011
1095
|
}
|
|
1012
1096
|
|
|
1013
|
-
.em-filemanager .uploadProgress__error-note {
|
|
1014
|
-
margin-top: 8px;
|
|
1015
|
-
padding: 8px;
|
|
1016
|
-
background-color: #fff2f0;
|
|
1017
|
-
border: 1px solid #ffccc7;
|
|
1018
|
-
border-radius: 4px;
|
|
1019
|
-
line-height: 1.2;
|
|
1020
|
-
}
|
|
1021
|
-
|
|
1022
1097
|
/* Минимизированное состояние */
|
|
1023
1098
|
.em-filemanager .uploadProgress__minimized {
|
|
1024
1099
|
position: fixed;
|
|
1025
1100
|
top: 20px;
|
|
1026
1101
|
left: 20px;
|
|
1027
|
-
z-index:
|
|
1102
|
+
z-index: 4005;
|
|
1028
1103
|
}
|
|
1029
1104
|
|
|
1030
1105
|
.em-filemanager .uploadProgress__minimized-button {
|
|
@@ -1102,7 +1177,7 @@
|
|
|
1102
1177
|
}
|
|
1103
1178
|
|
|
1104
1179
|
.em-filemanager .gifSearchInput {
|
|
1105
|
-
padding: 0
|
|
1180
|
+
padding: 0;
|
|
1106
1181
|
width: 640px;
|
|
1107
1182
|
max-width: 100%;
|
|
1108
1183
|
transition: width 1s ease;
|
|
@@ -1261,7 +1336,7 @@
|
|
|
1261
1336
|
}
|
|
1262
1337
|
|
|
1263
1338
|
.em-filemanager .stockSearchInput {
|
|
1264
|
-
padding: 0
|
|
1339
|
+
padding: 0;
|
|
1265
1340
|
width: 640px;
|
|
1266
1341
|
transition: all 200ms ease;
|
|
1267
1342
|
margin: auto auto 24px;
|
|
@@ -1687,6 +1762,391 @@
|
|
|
1687
1762
|
.em-filemanager .imageAiDark .antBtn:hover {
|
|
1688
1763
|
color: var(--colorPrimary);
|
|
1689
1764
|
}
|
|
1765
|
+
.em-filemanager .iconsTab {
|
|
1766
|
+
display: flex;
|
|
1767
|
+
flex-direction: column;
|
|
1768
|
+
height: 100%;
|
|
1769
|
+
}
|
|
1770
|
+
.em-filemanager .iconsTab.hasSearch {
|
|
1771
|
+
padding-top: 0;
|
|
1772
|
+
}
|
|
1773
|
+
|
|
1774
|
+
.em-filemanager .iconsSearchWrapper {
|
|
1775
|
+
width: 100%;
|
|
1776
|
+
height: 100%;
|
|
1777
|
+
overflow: auto;
|
|
1778
|
+
line-height: 0;
|
|
1779
|
+
display: flex;
|
|
1780
|
+
flex-direction: column;
|
|
1781
|
+
align-items: center;
|
|
1782
|
+
padding: 24px;
|
|
1783
|
+
}
|
|
1784
|
+
|
|
1785
|
+
.em-filemanager .iconsSearchForm {
|
|
1786
|
+
display: flex;
|
|
1787
|
+
gap: 8px;
|
|
1788
|
+
width: 100%;
|
|
1789
|
+
margin-bottom: 0;
|
|
1790
|
+
}
|
|
1791
|
+
|
|
1792
|
+
.em-filemanager .iconsSearchFormCenteredContainer {
|
|
1793
|
+
display: flex;
|
|
1794
|
+
flex-direction: column;
|
|
1795
|
+
align-items: flex-start;
|
|
1796
|
+
justify-content: flex-start;
|
|
1797
|
+
width: 100%;
|
|
1798
|
+
padding: 24px 24px 0;
|
|
1799
|
+
}
|
|
1800
|
+
|
|
1801
|
+
.em-filemanager .iconsSearchFormCentered {
|
|
1802
|
+
display: flex;
|
|
1803
|
+
flex-direction: row;
|
|
1804
|
+
width: 100%;
|
|
1805
|
+
align-items: flex-start;
|
|
1806
|
+
justify-content: center;
|
|
1807
|
+
}
|
|
1808
|
+
.em-filemanager .iconsSearchFormCentered .iconsSearchFormInput {
|
|
1809
|
+
width: 640px;
|
|
1810
|
+
max-width: 100%;
|
|
1811
|
+
padding: 0;
|
|
1812
|
+
margin: auto auto 12px;
|
|
1813
|
+
transition: all 300ms ease;
|
|
1814
|
+
}
|
|
1815
|
+
.em-filemanager .iconsSearchFormCentered .iconsSearchFormInputInput {
|
|
1816
|
+
max-width: 100%;
|
|
1817
|
+
width: 100%;
|
|
1818
|
+
}
|
|
1819
|
+
|
|
1820
|
+
.em-filemanager .iconsSearchFormInput {
|
|
1821
|
+
width: 240px;
|
|
1822
|
+
padding: 0;
|
|
1823
|
+
margin-bottom: 0;
|
|
1824
|
+
transition: all 300ms ease;
|
|
1825
|
+
}
|
|
1826
|
+
|
|
1827
|
+
.em-filemanager .iconsSearchResults {
|
|
1828
|
+
width: 100%;
|
|
1829
|
+
display: flex;
|
|
1830
|
+
flex-direction: row;
|
|
1831
|
+
gap: 8px;
|
|
1832
|
+
align-items: flex-start;
|
|
1833
|
+
justify-content: flex-start;
|
|
1834
|
+
}
|
|
1835
|
+
.em-filemanager .iconsSearchResults .iconsSearchFormInput {
|
|
1836
|
+
width: 240px;
|
|
1837
|
+
flex: 0 0 auto;
|
|
1838
|
+
margin-bottom: 0;
|
|
1839
|
+
}
|
|
1840
|
+
|
|
1841
|
+
.em-filemanager .iconsControlsControls {
|
|
1842
|
+
display: flex;
|
|
1843
|
+
align-items: center;
|
|
1844
|
+
gap: 16px;
|
|
1845
|
+
}
|
|
1846
|
+
|
|
1847
|
+
.em-filemanager .iconsSearchFormInputInput {
|
|
1848
|
+
width: 100%;
|
|
1849
|
+
}
|
|
1850
|
+
|
|
1851
|
+
.em-filemanager .iconsControls {
|
|
1852
|
+
display: flex;
|
|
1853
|
+
justify-content: space-between;
|
|
1854
|
+
align-items: center;
|
|
1855
|
+
width: 100%;
|
|
1856
|
+
padding: 24px 6px 24px 24px;
|
|
1857
|
+
border-bottom: 1px solid var(--colorBorder);
|
|
1858
|
+
}
|
|
1859
|
+
|
|
1860
|
+
.em-filemanager .iconsControlsFamilySlug {
|
|
1861
|
+
opacity: 0.7;
|
|
1862
|
+
}
|
|
1863
|
+
|
|
1864
|
+
.em-filemanager .iconsControlElement {
|
|
1865
|
+
display: flex;
|
|
1866
|
+
align-items: center;
|
|
1867
|
+
gap: 8px;
|
|
1868
|
+
}
|
|
1869
|
+
.em-filemanager .iconsControlElement > span {
|
|
1870
|
+
color: var(--colorTextTertiary);
|
|
1871
|
+
}
|
|
1872
|
+
|
|
1873
|
+
.em-filemanager .iconsControlsStrokeWidth {
|
|
1874
|
+
display: flex;
|
|
1875
|
+
align-items: center;
|
|
1876
|
+
gap: 8px;
|
|
1877
|
+
}
|
|
1878
|
+
.em-filemanager .iconsControlsStrokeWidth > span {
|
|
1879
|
+
color: var(--colorTextTertiary);
|
|
1880
|
+
}
|
|
1881
|
+
.em-filemanager .iconsControlsStrokeWidth .ant-input-number {
|
|
1882
|
+
width: 80px;
|
|
1883
|
+
}
|
|
1884
|
+
|
|
1885
|
+
.em-filemanager .iconsControlsCompact {
|
|
1886
|
+
position: relative;
|
|
1887
|
+
}
|
|
1888
|
+
|
|
1889
|
+
.em-filemanager .iconsControlsInputNumber {
|
|
1890
|
+
width: 110px;
|
|
1891
|
+
}
|
|
1892
|
+
|
|
1893
|
+
.em-filemanager .iconsControlsDropdownBtn {
|
|
1894
|
+
padding: 0;
|
|
1895
|
+
height: 32px;
|
|
1896
|
+
min-width: 36px;
|
|
1897
|
+
width: 36px;
|
|
1898
|
+
border-top-right-radius: 6px !important;
|
|
1899
|
+
border-bottom-right-radius: 6px !important;
|
|
1900
|
+
border-top-left-radius: 0 !important;
|
|
1901
|
+
border-bottom-left-radius: 0 !important;
|
|
1902
|
+
display: inline-flex;
|
|
1903
|
+
align-items: center;
|
|
1904
|
+
justify-content: center;
|
|
1905
|
+
color: var(--colorTextTertiary);
|
|
1906
|
+
}
|
|
1907
|
+
.em-filemanager .iconsControlsDropdownBtn:hover {
|
|
1908
|
+
color: var(--colorTextSecondary);
|
|
1909
|
+
}
|
|
1910
|
+
|
|
1911
|
+
.em-filemanager .iconsControlsCompact .iconsControlsDropdownBtn {
|
|
1912
|
+
border-top-right-radius: 6px !important;
|
|
1913
|
+
border-bottom-right-radius: 6px !important;
|
|
1914
|
+
}
|
|
1915
|
+
|
|
1916
|
+
.em-filemanager .sliderDropdown {
|
|
1917
|
+
position: absolute;
|
|
1918
|
+
left: 50%;
|
|
1919
|
+
transform: translateX(-50%);
|
|
1920
|
+
top: calc(100% + 6px);
|
|
1921
|
+
width: 240px;
|
|
1922
|
+
background: #fff;
|
|
1923
|
+
border: 1px solid rgba(0, 0, 0, 0.08);
|
|
1924
|
+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
|
|
1925
|
+
border-radius: 8px;
|
|
1926
|
+
padding: 10px 12px;
|
|
1927
|
+
z-index: 1000;
|
|
1928
|
+
}
|
|
1929
|
+
|
|
1930
|
+
.em-filemanager .iconsControlsHeader {
|
|
1931
|
+
display: flex;
|
|
1932
|
+
align-items: center;
|
|
1933
|
+
}
|
|
1934
|
+
|
|
1935
|
+
.em-filemanager .iconsSearchFormSelect {
|
|
1936
|
+
width: 160px !important;
|
|
1937
|
+
}
|
|
1938
|
+
|
|
1939
|
+
.em-filemanager .iconsSearchFormStyleItem {
|
|
1940
|
+
margin-bottom: 0;
|
|
1941
|
+
animation: fadeInSlide 300ms ease forwards;
|
|
1942
|
+
}
|
|
1943
|
+
|
|
1944
|
+
@keyframes fadeInSlide {
|
|
1945
|
+
from {
|
|
1946
|
+
opacity: 0;
|
|
1947
|
+
transform: translateX(-10px);
|
|
1948
|
+
}
|
|
1949
|
+
to {
|
|
1950
|
+
opacity: 1;
|
|
1951
|
+
transform: translateX(0);
|
|
1952
|
+
}
|
|
1953
|
+
}
|
|
1954
|
+
.em-filemanager .iconsSearchDivider {
|
|
1955
|
+
margin-top: 24px;
|
|
1956
|
+
margin-bottom: 0;
|
|
1957
|
+
border-color: var(--colorBorder);
|
|
1958
|
+
width: 100%;
|
|
1959
|
+
}
|
|
1960
|
+
|
|
1961
|
+
.em-filemanager .iconsSearchFormInputIcon {
|
|
1962
|
+
font-size: 16px;
|
|
1963
|
+
cursor: pointer;
|
|
1964
|
+
}
|
|
1965
|
+
|
|
1966
|
+
.em-filemanager .iconsGrid {
|
|
1967
|
+
width: 100%;
|
|
1968
|
+
flex: 1 1 auto;
|
|
1969
|
+
min-height: 0;
|
|
1970
|
+
overflow: auto;
|
|
1971
|
+
padding: 24px;
|
|
1972
|
+
}
|
|
1973
|
+
|
|
1974
|
+
.em-filemanager .iconsBottomBar {
|
|
1975
|
+
position: sticky;
|
|
1976
|
+
bottom: 0;
|
|
1977
|
+
background: var(--colorBgLayout);
|
|
1978
|
+
z-index: 5;
|
|
1979
|
+
width: 100%;
|
|
1980
|
+
}
|
|
1981
|
+
|
|
1982
|
+
.em-filemanager .iconsBottomBarContent {
|
|
1983
|
+
display: flex;
|
|
1984
|
+
justify-content: right;
|
|
1985
|
+
padding: 17px 24px;
|
|
1986
|
+
align-items: center;
|
|
1987
|
+
}
|
|
1988
|
+
|
|
1989
|
+
.em-filemanager .iconsGridEmpty {
|
|
1990
|
+
margin: 40px 0px;
|
|
1991
|
+
}
|
|
1992
|
+
|
|
1993
|
+
.em-filemanager .iconsGridEmptyState {
|
|
1994
|
+
display: flex;
|
|
1995
|
+
justify-content: center;
|
|
1996
|
+
align-items: center;
|
|
1997
|
+
padding: 0;
|
|
1998
|
+
}
|
|
1999
|
+
|
|
2000
|
+
.em-filemanager .resultsContainer {
|
|
2001
|
+
width: 640px;
|
|
2002
|
+
max-width: 100%;
|
|
2003
|
+
overflow: auto;
|
|
2004
|
+
padding: 60px 16px;
|
|
2005
|
+
border-radius: 12px;
|
|
2006
|
+
background-color: var(--colorBgContainer);
|
|
2007
|
+
display: flex;
|
|
2008
|
+
align-items: center;
|
|
2009
|
+
justify-content: center;
|
|
2010
|
+
flex-direction: column;
|
|
2011
|
+
text-align: center;
|
|
2012
|
+
}
|
|
2013
|
+
|
|
2014
|
+
.em-filemanager .playButton {
|
|
2015
|
+
color: var(--colorPrimary);
|
|
2016
|
+
margin-bottom: 16px;
|
|
2017
|
+
}
|
|
2018
|
+
|
|
2019
|
+
.em-filemanager .title {
|
|
2020
|
+
font-size: 16px;
|
|
2021
|
+
font-weight: 600;
|
|
2022
|
+
line-height: 1.2;
|
|
2023
|
+
margin-bottom: 4px;
|
|
2024
|
+
}
|
|
2025
|
+
|
|
2026
|
+
.em-filemanager .subtitle {
|
|
2027
|
+
font-size: 14px;
|
|
2028
|
+
color: var(--colorSecondary);
|
|
2029
|
+
line-height: 1.2;
|
|
2030
|
+
}
|
|
2031
|
+
|
|
2032
|
+
.em-filemanager .iconsGridInfiniteScroll {
|
|
2033
|
+
overflow: hidden !important;
|
|
2034
|
+
}
|
|
2035
|
+
|
|
2036
|
+
.em-filemanager .iconsGridGrid {
|
|
2037
|
+
display: grid;
|
|
2038
|
+
grid-template-columns: repeat(auto-fill, minmax(var(--icons-grid-min-col, 148px), 1fr));
|
|
2039
|
+
gap: 16px;
|
|
2040
|
+
}
|
|
2041
|
+
|
|
2042
|
+
.em-filemanager .iconsGridItem {
|
|
2043
|
+
position: relative;
|
|
2044
|
+
border-radius: 8px;
|
|
2045
|
+
padding: 12px;
|
|
2046
|
+
background: #fff;
|
|
2047
|
+
cursor: pointer;
|
|
2048
|
+
}
|
|
2049
|
+
|
|
2050
|
+
.em-filemanager .iconsGridItemThumbnail {
|
|
2051
|
+
display: flex;
|
|
2052
|
+
align-items: center;
|
|
2053
|
+
justify-content: center;
|
|
2054
|
+
}
|
|
2055
|
+
|
|
2056
|
+
.em-filemanager .iconsGridItemSvg {
|
|
2057
|
+
width: 100%;
|
|
2058
|
+
height: 100%;
|
|
2059
|
+
display: flex;
|
|
2060
|
+
align-items: center;
|
|
2061
|
+
justify-content: center;
|
|
2062
|
+
}
|
|
2063
|
+
|
|
2064
|
+
.em-filemanager .iconsGridItemImg {
|
|
2065
|
+
max-width: 100%;
|
|
2066
|
+
object-fit: contain;
|
|
2067
|
+
}
|
|
2068
|
+
|
|
2069
|
+
.em-filemanager .iconsGridItemName {
|
|
2070
|
+
margin-top: 8px;
|
|
2071
|
+
font-size: 12px;
|
|
2072
|
+
white-space: nowrap;
|
|
2073
|
+
text-overflow: ellipsis;
|
|
2074
|
+
overflow: hidden;
|
|
2075
|
+
}
|
|
2076
|
+
|
|
2077
|
+
.em-filemanager .iconsGridItemInsertButton {
|
|
2078
|
+
position: absolute;
|
|
2079
|
+
top: 8px;
|
|
2080
|
+
right: 8px;
|
|
2081
|
+
}
|
|
2082
|
+
|
|
2083
|
+
.em-filemanager .iconsGridLoading {
|
|
2084
|
+
position: absolute;
|
|
2085
|
+
top: 8;
|
|
2086
|
+
right: 8;
|
|
2087
|
+
}
|
|
2088
|
+
|
|
2089
|
+
.em-filemanager .iconsControlsBackButton {
|
|
2090
|
+
margin-right: 20px;
|
|
2091
|
+
}
|
|
2092
|
+
|
|
2093
|
+
.em-filemanager .iconsGridCheckbox {
|
|
2094
|
+
position: absolute;
|
|
2095
|
+
top: 8px;
|
|
2096
|
+
left: 8px;
|
|
2097
|
+
z-index: 2;
|
|
2098
|
+
opacity: 0;
|
|
2099
|
+
pointer-events: none;
|
|
2100
|
+
transition: opacity 0.15s ease-in-out;
|
|
2101
|
+
}
|
|
2102
|
+
|
|
2103
|
+
.em-filemanager .iconsGridItem:hover .iconsGridCheckbox {
|
|
2104
|
+
opacity: 1;
|
|
2105
|
+
pointer-events: auto;
|
|
2106
|
+
}
|
|
2107
|
+
|
|
2108
|
+
.em-filemanager .iconsGridShowCheckboxes .iconsGridCheckbox {
|
|
2109
|
+
opacity: 1;
|
|
2110
|
+
pointer-events: auto;
|
|
2111
|
+
}
|
|
2112
|
+
|
|
2113
|
+
.em-filemanager .iconsHeaderContainer {
|
|
2114
|
+
display: flex;
|
|
2115
|
+
align-items: center;
|
|
2116
|
+
justify-content: space-between;
|
|
2117
|
+
gap: 12px;
|
|
2118
|
+
padding: 25px 0;
|
|
2119
|
+
margin: 0 24px;
|
|
2120
|
+
border-bottom: 1px solid var(--colorBorder);
|
|
2121
|
+
}
|
|
2122
|
+
|
|
2123
|
+
.em-filemanager .iconsHeaderContainerLeft {
|
|
2124
|
+
display: flex;
|
|
2125
|
+
gap: 10px;
|
|
2126
|
+
align-items: center;
|
|
2127
|
+
}
|
|
2128
|
+
|
|
2129
|
+
.em-filemanager .iconsHeaderDivider {
|
|
2130
|
+
margin-top: 24px;
|
|
2131
|
+
margin-bottom: 0;
|
|
2132
|
+
border-color: var(--colorBorder);
|
|
2133
|
+
width: 100%;
|
|
2134
|
+
}
|
|
2135
|
+
|
|
2136
|
+
.em-filemanager .copyToFolderModalBody {
|
|
2137
|
+
position: relative;
|
|
2138
|
+
}
|
|
2139
|
+
|
|
2140
|
+
.em-filemanager .copyToFolderModalLoadingOverlay {
|
|
2141
|
+
position: absolute;
|
|
2142
|
+
inset: 0;
|
|
2143
|
+
z-index: 10;
|
|
2144
|
+
display: flex;
|
|
2145
|
+
align-items: center;
|
|
2146
|
+
justify-content: center;
|
|
2147
|
+
background: rgba(255, 255, 255, 0.6);
|
|
2148
|
+
pointer-events: all;
|
|
2149
|
+
}
|
|
1690
2150
|
@charset "UTF-8";
|
|
1691
2151
|
/* FileManagerApp стили */
|
|
1692
2152
|
.em-filemanager.ant-app {
|
|
@@ -1727,6 +2187,9 @@
|
|
|
1727
2187
|
min-width: 250px;
|
|
1728
2188
|
margin-right: 24px;
|
|
1729
2189
|
}
|
|
2190
|
+
.em-filemanager .file-manager__layout .header-title-container .clear-trash-button {
|
|
2191
|
+
margin-left: 16px;
|
|
2192
|
+
}
|
|
1730
2193
|
.em-filemanager .file-manager__layout h5.header-title {
|
|
1731
2194
|
margin-right: calc(var(--margin) * 1px);
|
|
1732
2195
|
margin-bottom: 0;
|
|
@@ -1753,6 +2216,7 @@
|
|
|
1753
2216
|
}
|
|
1754
2217
|
.em-filemanager .file-manager__layout .file-manager__content {
|
|
1755
2218
|
flex: 1;
|
|
2219
|
+
width: 100%;
|
|
1756
2220
|
}
|
|
1757
2221
|
.em-filemanager .file-manager__layout .ant-table-wrapper table,
|
|
1758
2222
|
.em-filemanager .file-manager__layout .ant-table-wrapper .ant-table-container,
|
|
@@ -1821,7 +2285,10 @@
|
|
|
1821
2285
|
}
|
|
1822
2286
|
.em-filemanager .file-manager__layout .file-manager__main-content {
|
|
1823
2287
|
position: relative;
|
|
2288
|
+
overflow: clip;
|
|
1824
2289
|
border-bottom-right-radius: 14px;
|
|
2290
|
+
flex: 1;
|
|
2291
|
+
width: 100%;
|
|
1825
2292
|
}
|
|
1826
2293
|
.em-filemanager .file-manager__layout .content-layout {
|
|
1827
2294
|
padding: 24px;
|
|
@@ -2239,9 +2706,6 @@
|
|
|
2239
2706
|
display: flex;
|
|
2240
2707
|
align-items: center;
|
|
2241
2708
|
}
|
|
2242
|
-
.em-filemanager .ant-tree .ant-btn.ant-btn-icon-only {
|
|
2243
|
-
width: inherit;
|
|
2244
|
-
}
|
|
2245
2709
|
.em-filemanager .ant-tree .ant-tree-title {
|
|
2246
2710
|
color: inherit;
|
|
2247
2711
|
}
|
|
@@ -2287,7 +2751,6 @@
|
|
|
2287
2751
|
overflow: hidden;
|
|
2288
2752
|
}
|
|
2289
2753
|
.em-filemanager .ant-tree .ant-tree-treenode[data-key=folders] {
|
|
2290
|
-
border-bottom: 1px solid var(--colorBorderSecondary);
|
|
2291
2754
|
margin-bottom: 8px;
|
|
2292
2755
|
padding-bottom: 8px;
|
|
2293
2756
|
}
|
|
@@ -2319,7 +2782,8 @@
|
|
|
2319
2782
|
gap: 4px;
|
|
2320
2783
|
position: absolute;
|
|
2321
2784
|
right: 4px;
|
|
2322
|
-
top:
|
|
2785
|
+
top: 50%;
|
|
2786
|
+
transform: translateY(-50%);
|
|
2323
2787
|
}
|
|
2324
2788
|
|
|
2325
2789
|
.em-filemanager .fm-upload-progress .ant-list .ant-list-item .ant-list-item-meta .ant-list-item-meta-content {
|
|
@@ -2369,16 +2833,23 @@
|
|
|
2369
2833
|
margin-bottom: 0;
|
|
2370
2834
|
display: none;
|
|
2371
2835
|
position: absolute;
|
|
2372
|
-
top:
|
|
2836
|
+
top: 0;
|
|
2373
2837
|
left: 0;
|
|
2374
2838
|
right: 4px;
|
|
2375
2839
|
bottom: 0;
|
|
2376
2840
|
z-index: 100;
|
|
2377
|
-
height:
|
|
2841
|
+
height: 100%;
|
|
2378
2842
|
}
|
|
2379
2843
|
.em-filemanager .ant-modal-root .ant-form-item.form-item-moveto.form-item_active {
|
|
2380
2844
|
display: block;
|
|
2381
2845
|
}
|
|
2846
|
+
.em-filemanager .ant-modal-root .ant-form-item.form-item-moveto .ant-input-affix-wrapper.form-input {
|
|
2847
|
+
border: none;
|
|
2848
|
+
box-shadow: none;
|
|
2849
|
+
height: 100%;
|
|
2850
|
+
line-height: 40px;
|
|
2851
|
+
background: none;
|
|
2852
|
+
}
|
|
2382
2853
|
.em-filemanager .ant-modal-root .ant-tree .ant-tree-node-content-wrapper.ant-tree-node-selected {
|
|
2383
2854
|
background-color: #ffffff;
|
|
2384
2855
|
}
|
|
@@ -2391,6 +2862,9 @@
|
|
|
2391
2862
|
font-weight: 500;
|
|
2392
2863
|
color: var(--colorText);
|
|
2393
2864
|
padding: 5px 0;
|
|
2865
|
+
white-space: nowrap;
|
|
2866
|
+
overflow: hidden;
|
|
2867
|
+
text-overflow: ellipsis;
|
|
2394
2868
|
}
|
|
2395
2869
|
.em-filemanager .ant-modal-root .ant-form-item .ant-form-item-label > label.ant-form-item-required::before {
|
|
2396
2870
|
display: none;
|