@snabcentr/vue-ui-lib 4.18.1 → 4.19.0
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/manifest.json +1 -1
- package/dist/release_notes.tmp +3 -3
- package/dist/sc-vue-ui-lib.js +869 -851
- package/dist/sc-vue-ui-lib.js.map +1 -1
- package/dist/sc-vue-ui-lib.umd.cjs +59 -59
- package/dist/sc-vue-ui-lib.umd.cjs.map +1 -1
- package/dist/src/helpers/file-helper.d.ts +13 -0
- package/dist/src/helpers/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IFile } from '@snabcentr/common-lib';
|
|
2
|
+
/**
|
|
3
|
+
* Объект помощников работы с файлами.
|
|
4
|
+
* Предоставляет методы подготовки файлов к отправке на портал.
|
|
5
|
+
*/
|
|
6
|
+
export declare const FileHelper: {
|
|
7
|
+
/**
|
|
8
|
+
* Читает содержимое файла и возвращает данные файла в формате, принимаемом порталом.
|
|
9
|
+
*
|
|
10
|
+
* @param file Файл, выбранный пользователем.
|
|
11
|
+
*/
|
|
12
|
+
readAsFileData(file: File): Promise<IFile>;
|
|
13
|
+
};
|