@webitel/ui-sdk 26.4.71 → 26.4.73
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webitel/ui-sdk",
|
|
3
|
-
"version": "26.4.
|
|
3
|
+
"version": "26.4.73",
|
|
4
4
|
"private": false,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"make-all": "npm version patch --git-tag-version false && npm run build && (npm run build:types || true) && (npm run biome:format:all || true) && npm run publish-lib",
|
package/src/locale/ru/ru.js
CHANGED
|
@@ -838,9 +838,9 @@ export default {
|
|
|
838
838
|
},
|
|
839
839
|
warnings: {
|
|
840
840
|
passwordExpirationMessageDays:
|
|
841
|
-
'Ваш пароль истечёт через {
|
|
841
|
+
'Ваш пароль истечёт через {amount} дн(я/ей)',
|
|
842
842
|
passwordExpirationMessageHours:
|
|
843
|
-
'До истечения пароля осталось менее {
|
|
843
|
+
'До истечения пароля осталось менее {amount} часов.',
|
|
844
844
|
licenseExpirationSoonMessage:
|
|
845
845
|
'Ваша лицензия {name} завершится через {amount} дней',
|
|
846
846
|
licenseExpirationMessage: 'Ваша лицензия {name} завершилась',
|
package/src/locale/uk/uk.js
CHANGED
|
@@ -836,7 +836,7 @@ export default {
|
|
|
836
836
|
delete: ({ named }) => `${named('entity')} було видалено`,
|
|
837
837
|
},
|
|
838
838
|
warnings: {
|
|
839
|
-
passwordExpirationMessageDays: 'Пароль спливе через {
|
|
839
|
+
passwordExpirationMessageDays: 'Пароль спливе через {amount} дн(і/ів)',
|
|
840
840
|
passwordExpirationMessageHours:
|
|
841
841
|
'Залишилось менше доби до завершення дії пароля',
|
|
842
842
|
licenseExpirationSoonMessage:
|
|
@@ -8,6 +8,7 @@ import { USER_NOTIFICATION_CONFIGS_MAP } from '../maps/userNotificationConfigsMa
|
|
|
8
8
|
import type { NotificationsType } from '../types/UserNotifications';
|
|
9
9
|
|
|
10
10
|
const STORAGE_KEY = 'usersWithShownNotifications';
|
|
11
|
+
const NOTIFICATION_DURATION_SEC = 20;
|
|
11
12
|
|
|
12
13
|
export const createUserNotificationsStore = () => {
|
|
13
14
|
const namespace = 'userNotifications';
|
|
@@ -75,6 +76,7 @@ export const createUserNotificationsStore = () => {
|
|
|
75
76
|
locale,
|
|
76
77
|
},
|
|
77
78
|
),
|
|
79
|
+
timeout: NOTIFICATION_DURATION_SEC,
|
|
78
80
|
}),
|
|
79
81
|
100,
|
|
80
82
|
);
|