@emailmaker/filemanager 0.10.96 → 0.10.98
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/adapters/DataSourceProxyBase.upload.test.d.ts +1 -0
- package/adapters/TreeCache.d.ts +2 -0
- package/adapters/TreeCache.forceInvalidate.test.d.ts +1 -0
- package/adapters/cacheViewStrategy.d.ts +10 -1
- package/adapters/cacheViewTypes.d.ts +5 -0
- package/{file-manager-IconsTab-DdEH0cIx.js → file-manager-IconsTab-DbYi7sur.js} +2 -2
- package/{file-manager-ImageCodeGenerator-B7oNhyZs.js → file-manager-ImageCodeGenerator-BsDmogJl.js} +2 -2
- package/{file-manager-JsBarcode-BgGNBn9o.js → file-manager-JsBarcode-DDF8pVlB.js} +2 -2
- package/{file-manager-browser-DzjzMXem.js → file-manager-browser-e3az9wxp.js} +2 -2
- package/file-manager-index-B8YIsLbs.js +10 -0
- package/file-manager.css +22 -1
- package/file-manager.esm.js +1 -1
- package/file-manager.js +95 -33
- package/{fm-icons-tab.9fb59ff579663a515590.js → fm-icons-tab.dbc6aea218d2ab6b3de5.js} +2 -2
- package/hooks/core/useFolders.d.ts +8 -0
- package/hooks/core/useFolders.mergeLazyRootFolders.test.d.ts +1 -0
- package/index.d.ts +1 -1
- package/package.json +1 -1
- package/presentation/file-list/FileListAdapter.d.ts +1 -1
- package/presentation/file-list/FileListAdapter.previewFallback.test.d.ts +1 -0
- package/types.d.ts +2 -1
- package/file-manager-index-BOM8wOfQ.js +0 -10
package/file-manager.css
CHANGED
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
width: 640px;
|
|
49
49
|
max-width: 100%;
|
|
50
50
|
padding: 0;
|
|
51
|
-
margin: auto auto
|
|
51
|
+
margin: auto auto 0;
|
|
52
52
|
transition: all 300ms ease;
|
|
53
53
|
}
|
|
54
54
|
.em-filemanager .iconsSearchFormCentered .iconsSearchFormInputInput {
|
|
@@ -1565,6 +1565,11 @@
|
|
|
1565
1565
|
flex-shrink: 0;
|
|
1566
1566
|
}
|
|
1567
1567
|
|
|
1568
|
+
/* Кнопка «Загрузить по URL» — icon-only, поэтому хост-приложение может задать ей
|
|
1569
|
+
свои размеры глобальным правилом `.ant-btn.ant-btn-icon-only` (в emailmaker это
|
|
1570
|
+
--formControlHeight: 34) и она становится ниже кнопки «Загрузить файл».
|
|
1571
|
+
Три класса в селекторе перебивают такие правила без !important. */
|
|
1572
|
+
|
|
1568
1573
|
.em-filemanager .uploadButtonIcon {
|
|
1569
1574
|
font-size: 20px;
|
|
1570
1575
|
}
|
|
@@ -1834,6 +1839,7 @@
|
|
|
1834
1839
|
left: 10px;
|
|
1835
1840
|
}
|
|
1836
1841
|
}
|
|
1842
|
+
@charset "UTF-8";
|
|
1837
1843
|
.em-filemanager .gifTab {
|
|
1838
1844
|
height: 100%;
|
|
1839
1845
|
min-height: 0;
|
|
@@ -1998,8 +2004,15 @@
|
|
|
1998
2004
|
flex-direction: column;
|
|
1999
2005
|
}
|
|
2000
2006
|
|
|
2007
|
+
/* Иконка приходит как antd <Icon> — это span.anticon, а SVG внутри рисуется
|
|
2008
|
+
через currentColor. Хост-приложение может задавать `.blocks-app .anticon { color: inherit }`
|
|
2009
|
+
(два класса), что перебивает одиночный `.playButton` и красит иконку в чёрный.
|
|
2010
|
+
Дублируем цвет на самом svg — там у хоста правил на color нет. */
|
|
2001
2011
|
.em-filemanager .playButton {
|
|
2002
2012
|
color: var(--colorPrimary);
|
|
2013
|
+
}
|
|
2014
|
+
|
|
2015
|
+
.em-filemanager .playButton {
|
|
2003
2016
|
margin-bottom: 16px;
|
|
2004
2017
|
}
|
|
2005
2018
|
|
|
@@ -2015,6 +2028,7 @@
|
|
|
2015
2028
|
color: var(--colorSecondary);
|
|
2016
2029
|
line-height: 1.2;
|
|
2017
2030
|
}
|
|
2031
|
+
@charset "UTF-8";
|
|
2018
2032
|
.em-filemanager .stockTab {
|
|
2019
2033
|
height: 100%;
|
|
2020
2034
|
min-height: 0;
|
|
@@ -2238,8 +2252,15 @@
|
|
|
2238
2252
|
flex-direction: column;
|
|
2239
2253
|
}
|
|
2240
2254
|
|
|
2255
|
+
/* Иконка приходит как antd <Icon> — это span.anticon, а SVG внутри рисуется
|
|
2256
|
+
через currentColor. Хост-приложение может задавать `.blocks-app .anticon { color: inherit }`
|
|
2257
|
+
(два класса), что перебивает одиночный `.playButton` и красит иконку в чёрный.
|
|
2258
|
+
Дублируем цвет на самом svg — там у хоста правил на color нет. */
|
|
2241
2259
|
.em-filemanager .playButton {
|
|
2242
2260
|
color: var(--colorPrimary);
|
|
2261
|
+
}
|
|
2262
|
+
|
|
2263
|
+
.em-filemanager .playButton {
|
|
2243
2264
|
margin-bottom: 16px;
|
|
2244
2265
|
}
|
|
2245
2266
|
|
package/file-manager.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{a1 as DEFAULT_FILE_MANAGER_CACHE_TTL_MS,a3 as DataSourceProxyBase,L as FailedRequestCache,A as FileContent,G as FileManagerApiError,z as FileManagerApp,t as FileManagerAppWithContext,B as FileModals,C as FolderSidebar,M as MutationRegistry,a4 as PathAwareStorageAdapter,P as PixieOnlyApp,X as TRASH_FOLDER_ID,$ as TreeCache,a0 as ViewCacheManager,I as buildAssetsPath,O as compareFileSystemItems,Y as createSystemFolderByPathResolver,y as default,Q as defaultChildrenViewFilterMatch,R as defaultFileSystemItemComparator,S as defaultHasSortValue,a2 as defaultIsFolderNotFoundError,a5 as fetchRemoteImageBlobByUrl,K as getAssetsBase,Z as getTrashFolderLookupCandidates,T as hasComparableSortValue,q as init,x as initFileManager,v as initPixieEditor,D as installResizeObserverErrorHandler,J as joinUrls,H as mapHttpStatusToErrorCode,U as matchesChildrenViewFilter,_ as normalizeSystemFolderPath,V as resolveSortParams,W as resolveViewStrategyOptions,E as uninstallResizeObserverErrorHandler,s as unmount,w as unmountPixieEditor}from"./file-manager-index-B8YIsLbs.js";import"react/jsx-runtime";import"react";import"react-dom/client";import"antd";import"@ant-design/icons";import"@ant-design/cssinjs";import"react-dom";import"@untitledui/icons";import"browser-image-compression";import"pixie";
|
|
2
2
|
//# sourceMappingURL=file-manager.esm.js.map
|