@astral/features 3.52.1 → 3.52.3
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/cryproPro/components/CryptoProCertAutocomplete/AutocompleteListItem/AutocompleteListItem.d.ts +2 -2
- package/cryproPro/components/CryptoProCertAutocomplete/AutocompleteListItem/styles.js +7 -3
- package/cryproPro/components/CryptoProCertAutocomplete/CryptoProCertAutocomplete.d.ts +2 -2
- package/cryproPro/components/CryptoProCertAutocomplete/utils/transformCertificates/transformCertificates.d.ts +1 -1
- package/cryproPro/components/CryptoProCertFormAutocomplete/CryptoProCertFormAutocomplete.d.ts +2 -2
- package/cryproPro/components/CryptoProProvider/CryptoProProvider.d.ts +2 -2
- package/cryproPro/components/SetupCryptoProWorkspaceModal/CryptoproviderInfo/CryptoproviderInfo.d.ts +1 -1
- package/cryproPro/components/SetupCryptoProWorkspaceModal/PluginInfo/PluginInfo.d.ts +1 -1
- package/cryproPro/components/SetupCryptoProWorkspaceModal/SetupCryptoProWorkspaceModal.d.ts +1 -1
- package/cryproPro/services/CryptoProCertificateService/CryptoProCertificateService.d.ts +1 -1
- package/cryproPro/services/CryptoProSignService/CryptoProSignService.d.ts +1 -1
- package/cryproPro/stores/CryptoProStore/CryptoProStore.d.ts +3 -3
- package/package.json +2 -2
- package/productSwitcher/components/IdentityProductSwitcher/hooks/useLogic/useLogic.d.ts +3 -3
- package/productSwitcher/components/IdentityProductSwitcher/utils/getIdentityTenants/getIdentityTenants.d.ts +1 -1
- package/productSwitcher/components/IdentityProductSwitcher/utils/getTenantsProducts/getTenantsProducts.d.ts +1 -1
- package/productSwitcher/utils/formatIdentityProducts/formatIdentityProducts.d.ts +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
-
import { CertificateType } from '../../../constants';
|
|
1
|
+
import { type HTMLAttributes, type ReactNode } from 'react';
|
|
2
|
+
import { type CertificateType } from '../../../constants';
|
|
3
3
|
type AutocompleteListItemProps = Omit<HTMLAttributes<HTMLLIElement>, 'title'> & {
|
|
4
4
|
title: ReactNode;
|
|
5
5
|
sidetitle: string | null;
|
|
@@ -5,22 +5,24 @@ export const AutocompleteListAvatarIcon = styled(Avatar) `
|
|
|
5
5
|
export const AutocompleteListItemLabel = styled.div `
|
|
6
6
|
display: flex;
|
|
7
7
|
flex-direction: column;
|
|
8
|
+
|
|
8
9
|
width: 80%;
|
|
9
10
|
`;
|
|
10
11
|
export const AutocompleteListItemSideLabel = styled.div `
|
|
11
12
|
display: flex;
|
|
12
13
|
align-self: start;
|
|
13
14
|
justify-content: end;
|
|
15
|
+
|
|
14
16
|
width: 20%;
|
|
15
17
|
`;
|
|
16
18
|
export const AutocompleteListItemLabelTitle = styled(OverflowTypography) `
|
|
17
|
-
font-weight: ${({ theme }) => theme.typography.fontWeightBold};
|
|
18
19
|
font-size: ${({ theme }) => theme.typography.fontSize};
|
|
20
|
+
font-weight: ${({ theme }) => theme.typography.fontWeightBold};
|
|
19
21
|
`;
|
|
20
22
|
export const AutocompleteListItemIcon = styled(ListItemIcon) `
|
|
21
23
|
display: flex;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
+
place-self: center center;
|
|
25
|
+
|
|
24
26
|
padding-left: ${({ theme }) => theme.spacing(4)};
|
|
25
27
|
`;
|
|
26
28
|
export const GroupMenuItem = styled(MenuItem, {
|
|
@@ -28,11 +30,13 @@ export const GroupMenuItem = styled(MenuItem, {
|
|
|
28
30
|
}) `
|
|
29
31
|
${({ theme, checked }) => checked && `background-color: ${theme.palette.primary[100]};`}
|
|
30
32
|
align-items: flex-start;
|
|
33
|
+
|
|
31
34
|
padding: 0;
|
|
32
35
|
`;
|
|
33
36
|
export const AutocompleteListItemContent = styled(MenuItem) `
|
|
34
37
|
justify-content: space-around;
|
|
35
38
|
justify-items: start;
|
|
39
|
+
|
|
36
40
|
width: 100%;
|
|
37
41
|
margin-left: 0;
|
|
38
42
|
padding: ${({ theme }) => theme.spacing(2, 4, 2, 0)};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Certificate } from '@astral/cryptopro-cades';
|
|
2
|
-
import { AutocompleteProps } from '@astral/ui';
|
|
1
|
+
import { type Certificate } from '@astral/cryptopro-cades';
|
|
2
|
+
import { type AutocompleteProps } from '@astral/ui';
|
|
3
3
|
/**
|
|
4
4
|
* @description Autocomplete с сертификатами
|
|
5
5
|
*/
|
package/cryproPro/components/CryptoProCertFormAutocomplete/CryptoProCertFormAutocomplete.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Certificate } from '@astral/cryptopro-cades';
|
|
2
|
-
import { AutocompleteProps, WithFormFieldProps } from '@astral/ui';
|
|
1
|
+
import { type Certificate } from '@astral/cryptopro-cades';
|
|
2
|
+
import { type AutocompleteProps, type WithFormFieldProps } from '@astral/ui';
|
|
3
3
|
export type CryptoProCertFormAutocompleteProps<Multiple extends boolean = false, DisableClearable extends boolean = false, FreeSolo extends boolean = false> = WithFormFieldProps<AutocompleteProps<Certificate, Multiple, DisableClearable, FreeSolo>, any>;
|
|
4
4
|
/**
|
|
5
5
|
* @description Autocomplete с сертификатами для формы
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PropsWithChildren } from 'react';
|
|
2
|
-
import { CryptoProStore } from '../../stores/CryptoProStore';
|
|
1
|
+
import { type PropsWithChildren } from 'react';
|
|
2
|
+
import { type CryptoProStore } from '../../stores/CryptoProStore';
|
|
3
3
|
/**
|
|
4
4
|
* @description Провайдер, который в случае отсутствия или неактивности
|
|
5
5
|
* КриптоПро browser plug-in или отсутствия КриптоПро провайдера на
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { CADESCOM_XML_SIGNATURE_TYPE, Certificate } from '@astral/cryptopro-cades';
|
|
2
|
-
import { FormatedCertificate } from '../../services';
|
|
3
|
-
import { CheckWorkspace } from '../../services/WorkspaceSetupService';
|
|
1
|
+
import { type CADESCOM_XML_SIGNATURE_TYPE, type Certificate } from '@astral/cryptopro-cades';
|
|
2
|
+
import { type FormatedCertificate } from '../../services';
|
|
3
|
+
import { type CheckWorkspace } from '../../services/WorkspaceSetupService';
|
|
4
4
|
/**
|
|
5
5
|
* @description Стор для работы с сертификатами и выполнения криптоопераций. Является фасадом для сервисом КриптоПро
|
|
6
6
|
* */
|
package/package.json
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
"name": "@astral/features",
|
|
3
3
|
"browser": "./index.js",
|
|
4
4
|
"main": "./index.js",
|
|
5
|
-
"version": "3.52.
|
|
5
|
+
"version": "3.52.3",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@astral/ui": "^3.52.
|
|
7
|
+
"@astral/ui": "^3.52.3",
|
|
8
8
|
"mobx": "^6.8.0",
|
|
9
9
|
"mobx-react-lite": "^3.4.0",
|
|
10
10
|
"@astral/cryptopro-cades": "^1.5.1"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { MouseEvent } from 'react';
|
|
2
|
-
import { WidgetProduct } from '@astral/ui';
|
|
3
|
-
import { IdentityTenantsDTO } from '../../../../types';
|
|
1
|
+
import { type MouseEvent } from 'react';
|
|
2
|
+
import { type WidgetProduct } from '@astral/ui';
|
|
3
|
+
import { type IdentityTenantsDTO } from '../../../../types';
|
|
4
4
|
export declare const useLogic: (identityUrl: string, openMenu: () => void) => {
|
|
5
5
|
handleShowProducts: () => void;
|
|
6
6
|
isLoading: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { WidgetProduct } from '@astral/ui';
|
|
2
|
-
import { IdentityProductsWidgetDTO } from '../../types';
|
|
1
|
+
import { type WidgetProduct } from '@astral/ui';
|
|
2
|
+
import { type IdentityProductsWidgetDTO } from '../../types';
|
|
3
3
|
/**
|
|
4
4
|
* Форматирование данных identity под виджет UIKIT
|
|
5
5
|
* @param identityProducts - список продуктов от identity
|