@snabcentr/vue-ui-lib 5.7.5 → 5.7.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.
@@ -37,4 +37,12 @@ export declare class UiNotificationProvider {
37
37
  * данные об ошибках валидации в случае ошибок в запросах.
38
38
  */
39
39
  static showNotificationsForErrorResponseData(error: IHttpResponseError, validationFieldResultData?: Record<string, IFieldValidationResultData>): void;
40
+ /**
41
+ * Отображает сообщения об ошибках запроса: одно сообщение выводит UI-сообщением, несколько собирает
42
+ * в одно уведомление со списком, чтобы массовые ошибки (например, по каждому товару при импорте)
43
+ * не выводились сотнями отдельных сообщений.
44
+ *
45
+ * @param messages Сообщения об ошибках.
46
+ */
47
+ protected static showErrorMessages(messages: string[]): void;
40
48
  }
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": "5.7.5",
7
+ "version": "5.7.6",
8
8
  "license": "ISC",
9
9
  "scripts": {
10
10
  "dev": "vite",