@snabcentr/vue-ui-lib 4.18.1 → 4.19.1

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.
@@ -62,5 +62,5 @@ declare const _default: import('vue').DefineComponent<IClearable & IDateRangeDis
62
62
  dateFormat: string;
63
63
  placeholderFrom: string;
64
64
  placeholderTo: string;
65
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
65
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
66
66
  export default _default;
@@ -2,7 +2,7 @@ import { IClearable } from '../../../properties/interfaces/i-clearable';
2
2
  import { IDisabled } from '../../../properties/interfaces/i-disabled';
3
3
  import { IPlaceholder } from '../../../properties/interfaces/i-placeholder';
4
4
  /**
5
- * Поле одиночной даты: слева в панели год и месяцы, справа календарь дней.
5
+ * Поле одиночной даты: слева в панели год и месяцы (на телефоне скрыты), справа календарь дней.
6
6
  */
7
7
  declare const _default: import('vue').DefineComponent<IClearable & IDisabled & IPlaceholder & {
8
8
  /**
@@ -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
+ };
@@ -1,4 +1,5 @@
1
1
  export * from './content-helper';
2
+ export * from './file-helper';
2
3
  export * from './entity-name-helper';
3
4
  export * from './input-helper';
4
5
  export * from './select-option-helper';
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "keywords": [],
5
5
  "author": "Sergey S. Smirnov <dev@snabcentr.com>",
6
6
  "type": "module",
7
- "version": "4.18.1",
7
+ "version": "4.19.1",
8
8
  "license": "ISC",
9
9
  "scripts": {
10
10
  "dev": "vite",