@steroidsjs/core 3.0.0-beta.77 → 3.0.0-beta.79
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/docs-autogen-result.json +1 -1
- package/en.json +1 -1
- package/package.json +1 -1
- package/ui/nav/Router/Router.js +2 -1
package/docs-autogen-result.json
CHANGED
|
@@ -12965,7 +12965,7 @@
|
|
|
12965
12965
|
{
|
|
12966
12966
|
"name": "autoFocus",
|
|
12967
12967
|
"decorators": [],
|
|
12968
|
-
"description": "Если в форме есть элементы
|
|
12968
|
+
"description": "Если в форме есть элементы input, то произойдет автоматическая фокусировка на первом из них",
|
|
12969
12969
|
"required": false,
|
|
12970
12970
|
"type": "boolean",
|
|
12971
12971
|
"example": "true"
|
package/en.json
CHANGED
|
@@ -458,7 +458,7 @@
|
|
|
458
458
|
"Url на который будет отправлена форма": "URL to which the form will be submitted.",
|
|
459
459
|
"Синхронизация значений формы с адресной строкой": "Synchronize form values with the address bar.",
|
|
460
460
|
"Очищать ли данные формы с redux хранилища при размонтировании компонента. По-умолчанию - false": "Whether to clear form data from the Redux store when the component is unmounted. Default is false.",
|
|
461
|
-
"Если в форме есть элементы
|
|
461
|
+
"Если в форме есть элементы input, то произойдет автоматическая фокусировка на первом из них": "If there are \\ <input\\> elements in the form, automatic focus will occur on the first one.",
|
|
462
462
|
"Сохраняет значения полей формы в LocalStorage": "Saves form field values to LocalStorage.",
|
|
463
463
|
"Автоматически стартовать 2fa аутентификацию (отправлять код)": "Automatically start 2FA authentication (send code).",
|
|
464
464
|
"Название действия, которое передаётся в API Google reCAPTCHA v3, для более детального анализа\nповедения пользователя (https://developers.google.com/recaptcha/docs/v3)": "The name of the action that is passed to the Google reCAPTCHA v3 API for more detailed analysis of user behavior.",
|
package/package.json
CHANGED
package/ui/nav/Router/Router.js
CHANGED
|
@@ -149,7 +149,8 @@ function Router(props) {
|
|
|
149
149
|
(0, react_1.useEffect)(function () {
|
|
150
150
|
if (prevOpenedModalIds !== openedModalIds
|
|
151
151
|
&& route
|
|
152
|
-
&& !openedModalIds.includes(route.id)
|
|
152
|
+
&& !openedModalIds.includes(route.id)
|
|
153
|
+
&& (prevRoute === null || prevRoute === void 0 ? void 0 : prevRoute.role) === exports.ROUTER_ROLE_MODAL) {
|
|
153
154
|
var parentRouteId = activeRouteIds.find(function (activeRouteId) {
|
|
154
155
|
var activeRoute = routes.find(function (routeItem) { return routeItem.id === activeRouteId; });
|
|
155
156
|
return activeRoute && activeRoute.role !== exports.ROUTER_ROLE_MODAL;
|