@astral/features 3.247.1 → 3.248.0-rc.2
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/AutoSaveIndicatorService/index.d.ts +1 -1
- package/AutoSaveIndicatorService/index.js +1 -1
- package/cryproPro/components/CryptoProCertAutocomplete/AutocompleteListItem/styles.d.ts +34 -34
- package/cryproPro/components/CryptoProCertAutocomplete/AutocompleteListItem/utils/getShortFullName/getShortFullName.js +4 -4
- package/cryproPro/components/CryptoProCertAutocomplete/CryptoProCertAutocomplete.d.ts +1 -1
- package/cryproPro/components/CryptoProCertAutocomplete/utils/transformCertificates/transformCertificates.js +3 -3
- package/cryproPro/components/CryptoProCertFormAutocomplete/CryptoProCertFormAutocomplete.d.ts +2 -2
- package/cryproPro/components/CryptoProProvider/CryptoProProvider.js +1 -1
- package/cryproPro/components/SetupCryptoProWorkspaceModal/CryptoproviderInfo/CryptoproviderInfo.js +1 -2
- package/cryproPro/components/SetupCryptoProWorkspaceModal/PluginInfo/PluginInfo.js +1 -2
- package/cryproPro/components/SetupCryptoProWorkspaceModal/SetupCryptoProWorkspaceModal.js +1 -2
- package/cryproPro/components/index.d.ts +2 -2
- package/cryproPro/components/index.js +2 -2
- package/cryproPro/constants/index.d.ts +1 -1
- package/cryproPro/constants/index.js +1 -1
- package/cryproPro/index.d.ts +1 -1
- package/cryproPro/index.js +1 -1
- package/cryproPro/services/CryptoProCertificateService/CryptoProCertificateService.js +1 -1
- package/cryproPro/services/CryptoProCertificateService/utils/index.d.ts +1 -1
- package/cryproPro/services/CryptoProCertificateService/utils/index.js +1 -1
- package/cryproPro/services/WorkspaceSetupService/WorkspaceSetupService.js +1 -1
- package/index.d.ts +2 -2
- package/index.js +2 -2
- package/node/AutoSaveIndicatorService/index.d.ts +1 -1
- package/node/AutoSaveIndicatorService/index.js +1 -1
- package/node/cryproPro/components/CryptoProCertAutocomplete/AutocompleteListItem/styles.d.ts +34 -34
- package/node/cryproPro/components/CryptoProCertAutocomplete/AutocompleteListItem/utils/getShortFullName/getShortFullName.js +4 -4
- package/node/cryproPro/components/CryptoProCertAutocomplete/CryptoProCertAutocomplete.d.ts +1 -1
- package/node/cryproPro/components/CryptoProCertAutocomplete/utils/transformCertificates/transformCertificates.js +3 -3
- package/node/cryproPro/components/CryptoProCertFormAutocomplete/CryptoProCertFormAutocomplete.d.ts +2 -2
- package/node/cryproPro/components/CryptoProProvider/CryptoProProvider.js +1 -1
- package/node/cryproPro/components/SetupCryptoProWorkspaceModal/CryptoproviderInfo/CryptoproviderInfo.js +2 -3
- package/node/cryproPro/components/SetupCryptoProWorkspaceModal/PluginInfo/PluginInfo.js +1 -2
- package/node/cryproPro/components/SetupCryptoProWorkspaceModal/SetupCryptoProWorkspaceModal.js +1 -2
- package/node/cryproPro/components/index.d.ts +2 -2
- package/node/cryproPro/components/index.js +2 -2
- package/node/cryproPro/constants/index.d.ts +1 -1
- package/node/cryproPro/constants/index.js +1 -1
- package/node/cryproPro/index.d.ts +1 -1
- package/node/cryproPro/index.js +3 -3
- package/node/cryproPro/services/CryptoProCertificateService/utils/index.d.ts +1 -1
- package/node/cryproPro/services/CryptoProCertificateService/utils/index.js +1 -1
- package/node/cryproPro/services/WorkspaceSetupService/WorkspaceSetupService.js +1 -1
- package/node/index.d.ts +2 -2
- package/node/index.js +5 -5
- package/node/productSwitcher/components/AstralProductSwitcher/utils/getFilteredProducts/getFilteredProducts.js +1 -1
- package/node/productSwitcher/components/IdentityProductSwitcher/IdentityProductSwitcher.js +2 -2
- package/node/productSwitcher/components/IdentityProductSwitcher/hooks/useLogic/useLogic.d.ts +1 -1
- package/node/productSwitcher/components/IdentityProductSwitcher/hooks/useLogic/useLogic.js +2 -2
- package/node/productSwitcher/components/IdentityProductSwitcher/utils/index.d.ts +1 -1
- package/node/productSwitcher/components/IdentityProductSwitcher/utils/index.js +1 -1
- package/node/productSwitcher/utils/formatIdentityProducts/formatIdentityProducts.js +2 -2
- package/node/productSwitcher/utils/index.d.ts +1 -1
- package/node/productSwitcher/utils/index.js +1 -1
- package/package.json +10 -12
- package/productSwitcher/components/AstralProductSwitcher/utils/getFilteredProducts/getFilteredProducts.js +1 -1
- package/productSwitcher/components/IdentityProductSwitcher/IdentityProductSwitcher.js +2 -2
- package/productSwitcher/components/IdentityProductSwitcher/hooks/useLogic/useLogic.d.ts +1 -1
- package/productSwitcher/components/IdentityProductSwitcher/hooks/useLogic/useLogic.js +2 -2
- package/productSwitcher/components/IdentityProductSwitcher/styles.js +1 -1
- package/productSwitcher/components/IdentityProductSwitcher/utils/index.d.ts +1 -1
- package/productSwitcher/components/IdentityProductSwitcher/utils/index.js +1 -1
- package/productSwitcher/utils/formatIdentityProducts/formatIdentityProducts.js +2 -2
- package/productSwitcher/utils/index.d.ts +1 -1
- package/productSwitcher/utils/index.js +1 -1
|
@@ -13,19 +13,24 @@ export declare const SideLabel: import("@emotion/styled").StyledComponent<{
|
|
|
13
13
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
14
14
|
export declare const LabelTitle: import("@emotion/styled").StyledComponent<import("@astral/ui").OverflowedProps & {
|
|
15
15
|
tooltipProps?: (Omit<{
|
|
16
|
+
slot?: string | undefined;
|
|
17
|
+
style?: import("react").CSSProperties | undefined;
|
|
18
|
+
title: import("react").ReactNode;
|
|
19
|
+
color?: string | undefined;
|
|
20
|
+
content?: string | undefined;
|
|
21
|
+
translate?: "yes" | "no" | undefined;
|
|
16
22
|
components?: {
|
|
17
23
|
Popper?: import("react").ElementType<import("@mui/material").PopperProps> | undefined;
|
|
18
24
|
Transition?: import("react").ElementType<any> | undefined;
|
|
19
25
|
Tooltip?: import("react").ElementType<any> | undefined;
|
|
20
26
|
Arrow?: import("react").ElementType<any> | undefined;
|
|
21
27
|
} | undefined;
|
|
22
|
-
|
|
23
|
-
content?: string | undefined;
|
|
24
|
-
translate?: "yes" | "no" | undefined;
|
|
28
|
+
size?: "small" | "medium" | undefined;
|
|
25
29
|
classes?: Partial<import("@mui/material").TooltipClasses> | undefined;
|
|
30
|
+
defaultValue?: string | number | readonly string[] | undefined;
|
|
31
|
+
onChange?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
26
32
|
children: import("react").ReactElement<any, any>;
|
|
27
33
|
defaultChecked?: boolean | undefined;
|
|
28
|
-
defaultValue?: string | number | readonly string[] | undefined;
|
|
29
34
|
suppressContentEditableWarning?: boolean | undefined;
|
|
30
35
|
suppressHydrationWarning?: boolean | undefined;
|
|
31
36
|
accessKey?: string | undefined;
|
|
@@ -40,11 +45,8 @@ export declare const LabelTitle: import("@emotion/styled").StyledComponent<impor
|
|
|
40
45
|
lang?: string | undefined;
|
|
41
46
|
nonce?: string | undefined;
|
|
42
47
|
placeholder?: string | undefined;
|
|
43
|
-
slot?: string | undefined;
|
|
44
48
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
45
|
-
style?: import("react").CSSProperties | undefined;
|
|
46
49
|
tabIndex?: number | undefined;
|
|
47
|
-
title: import("react").ReactNode;
|
|
48
50
|
radioGroup?: string | undefined;
|
|
49
51
|
role?: import("react").AriaRole | undefined;
|
|
50
52
|
about?: string | undefined;
|
|
@@ -68,18 +70,18 @@ export declare const LabelTitle: import("@emotion/styled").StyledComponent<impor
|
|
|
68
70
|
results?: number | undefined;
|
|
69
71
|
security?: string | undefined;
|
|
70
72
|
unselectable?: "on" | "off" | undefined;
|
|
71
|
-
inputMode?: "
|
|
73
|
+
inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
72
74
|
is?: string | undefined;
|
|
73
75
|
'aria-activedescendant'?: string | undefined;
|
|
74
76
|
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
75
|
-
'aria-autocomplete'?: "
|
|
77
|
+
'aria-autocomplete'?: "inline" | "none" | "list" | "both" | undefined;
|
|
76
78
|
'aria-busy'?: (boolean | "true" | "false") | undefined;
|
|
77
79
|
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
78
80
|
'aria-colcount'?: number | undefined;
|
|
79
81
|
'aria-colindex'?: number | undefined;
|
|
80
82
|
'aria-colspan'?: number | undefined;
|
|
81
83
|
'aria-controls'?: string | undefined;
|
|
82
|
-
'aria-current'?: boolean | "
|
|
84
|
+
'aria-current'?: boolean | "time" | "page" | "true" | "false" | "step" | "location" | "date" | undefined;
|
|
83
85
|
'aria-describedby'?: string | undefined;
|
|
84
86
|
'aria-details'?: string | undefined;
|
|
85
87
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
@@ -88,7 +90,7 @@ export declare const LabelTitle: import("@emotion/styled").StyledComponent<impor
|
|
|
88
90
|
'aria-expanded'?: (boolean | "true" | "false") | undefined;
|
|
89
91
|
'aria-flowto'?: string | undefined;
|
|
90
92
|
'aria-grabbed'?: (boolean | "true" | "false") | undefined;
|
|
91
|
-
'aria-haspopup'?: boolean | "
|
|
93
|
+
'aria-haspopup'?: boolean | "dialog" | "menu" | "grid" | "listbox" | "true" | "false" | "tree" | undefined;
|
|
92
94
|
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
93
95
|
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
94
96
|
'aria-keyshortcuts'?: string | undefined;
|
|
@@ -137,7 +139,6 @@ export declare const LabelTitle: import("@emotion/styled").StyledComponent<impor
|
|
|
137
139
|
onFocusCapture?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
|
|
138
140
|
onBlur?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
|
|
139
141
|
onBlurCapture?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
|
|
140
|
-
onChange?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
141
142
|
onChangeCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
142
143
|
onBeforeInput?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
143
144
|
onBeforeInputCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
@@ -283,15 +284,8 @@ export declare const LabelTitle: import("@emotion/styled").StyledComponent<impor
|
|
|
283
284
|
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
284
285
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
285
286
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
286
|
-
size?: "medium" | "small" | undefined;
|
|
287
287
|
open?: boolean | undefined;
|
|
288
288
|
onClose?: ((event: Event | import("react").SyntheticEvent<Element, Event>) => void) | undefined;
|
|
289
|
-
componentsProps?: {
|
|
290
|
-
popper?: (Partial<import("@mui/material").PopperProps> & import("@mui/material").TooltipComponentsPropsOverrides) | undefined;
|
|
291
|
-
transition?: (import("@mui/material/transitions").TransitionProps & import("@mui/material").TooltipComponentsPropsOverrides) | undefined;
|
|
292
|
-
tooltip?: (import("react").HTMLProps<HTMLDivElement> & import("@mui/system").MUIStyledCommonProps<import("@mui/system").Theme> & import("@mui/material").TooltipComponentsPropsOverrides) | undefined;
|
|
293
|
-
arrow?: (import("react").HTMLProps<HTMLSpanElement> & import("@mui/system").MUIStyledCommonProps<import("@mui/system").Theme> & import("@mui/material").TooltipComponentsPropsOverrides) | undefined;
|
|
294
|
-
} | undefined;
|
|
295
289
|
slotProps?: {
|
|
296
290
|
popper?: (Partial<import("@mui/material").PopperProps> & import("@mui/material").TooltipComponentsPropsOverrides) | undefined;
|
|
297
291
|
transition?: (import("@mui/material/transitions").TransitionProps & import("@mui/material").TooltipComponentsPropsOverrides) | undefined;
|
|
@@ -304,6 +298,12 @@ export declare const LabelTitle: import("@emotion/styled").StyledComponent<impor
|
|
|
304
298
|
tooltip?: import("react").ElementType<any> | undefined;
|
|
305
299
|
arrow?: import("react").ElementType<any> | undefined;
|
|
306
300
|
} | undefined;
|
|
301
|
+
componentsProps?: {
|
|
302
|
+
popper?: (Partial<import("@mui/material").PopperProps> & import("@mui/material").TooltipComponentsPropsOverrides) | undefined;
|
|
303
|
+
transition?: (import("@mui/material/transitions").TransitionProps & import("@mui/material").TooltipComponentsPropsOverrides) | undefined;
|
|
304
|
+
tooltip?: (import("react").HTMLProps<HTMLDivElement> & import("@mui/system").MUIStyledCommonProps<import("@mui/system").Theme> & import("@mui/material").TooltipComponentsPropsOverrides) | undefined;
|
|
305
|
+
arrow?: (import("react").HTMLProps<HTMLSpanElement> & import("@mui/system").MUIStyledCommonProps<import("@mui/system").Theme> & import("@mui/material").TooltipComponentsPropsOverrides) | undefined;
|
|
306
|
+
} | undefined;
|
|
307
307
|
TransitionComponent?: import("react").JSXElementConstructor<import("@mui/material/transitions").TransitionProps & {
|
|
308
308
|
children: import("react").ReactElement<any, any>;
|
|
309
309
|
}> | undefined;
|
|
@@ -325,21 +325,21 @@ export declare const LabelTitle: import("@emotion/styled").StyledComponent<impor
|
|
|
325
325
|
PopperComponent?: import("react").JSXElementConstructor<import("@mui/material").PopperProps> | undefined;
|
|
326
326
|
PopperProps?: Partial<import("@mui/material").PopperProps> | undefined;
|
|
327
327
|
withoutContainer?: boolean | undefined;
|
|
328
|
-
}, "
|
|
328
|
+
}, "title" | "children"> & {
|
|
329
329
|
title?: import("react").ReactNode;
|
|
330
330
|
}) | undefined;
|
|
331
331
|
visibleLastSymbolsCount?: number | undefined;
|
|
332
332
|
} & {
|
|
333
333
|
children?: import("react").ReactNode;
|
|
334
|
-
align?: "
|
|
334
|
+
align?: "left" | "right" | "inherit" | "center" | "justify" | undefined;
|
|
335
335
|
gutterBottom?: boolean | undefined;
|
|
336
336
|
noWrap?: boolean | undefined;
|
|
337
337
|
paragraph?: boolean | undefined;
|
|
338
338
|
} & {
|
|
339
|
-
color?: "
|
|
340
|
-
variant?:
|
|
341
|
-
colorIntensity?: ("
|
|
342
|
-
component?: ("symbol" | "object" | "
|
|
339
|
+
color?: "green" | "grey" | "red" | "yellow" | "info" | "primary" | "secondary" | "error" | "warning" | "success" | "text" | "textSecondary" | undefined;
|
|
340
|
+
variant?: import("@astral/ui").TypographyLegacyVariant | import("@astral/ui").TypographyVariant | undefined;
|
|
341
|
+
colorIntensity?: import("@astral/ui").Intensity | undefined;
|
|
342
|
+
component?: ("symbol" | "object" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "label" | "legend" | "li" | "link" | "main" | "map" | "mark" | "menu" | "meta" | "meter" | "nav" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "script" | "section" | "select" | "slot" | "small" | "source" | "span" | "strong" | "style" | "sub" | "summary" | "sup" | "table" | "tbody" | "td" | "template" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "clipPath" | "filter" | "mask" | "marker" | "text" | "center" | import("react").ComponentType<any> | "big" | "keygen" | "menuitem" | "noindex" | "param" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "stop" | "switch" | "textPath" | "tspan" | "use" | "view") | undefined;
|
|
343
343
|
isUpperCase?: boolean | undefined;
|
|
344
344
|
} & import("react").HTMLAttributes<HTMLParagraphElement> & {
|
|
345
345
|
children?: import("react").ReactNode;
|
|
@@ -347,13 +347,17 @@ export declare const LabelTitle: import("@emotion/styled").StyledComponent<impor
|
|
|
347
347
|
theme?: import("@emotion/react").Theme | undefined;
|
|
348
348
|
}, {}, {}>;
|
|
349
349
|
export declare const StyledListItemIcon: import("@emotion/styled").StyledComponent<Omit<{
|
|
350
|
+
slot?: string | undefined;
|
|
351
|
+
style?: import("react").CSSProperties | undefined;
|
|
352
|
+
title?: string | undefined;
|
|
350
353
|
color?: string | undefined;
|
|
351
354
|
content?: string | undefined;
|
|
352
355
|
translate?: "yes" | "no" | undefined;
|
|
353
356
|
classes?: Partial<import("@mui/material").ListItemIconClasses> | undefined;
|
|
357
|
+
defaultValue?: string | number | readonly string[] | undefined;
|
|
358
|
+
onChange?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
354
359
|
children?: import("react").ReactNode;
|
|
355
360
|
defaultChecked?: boolean | undefined;
|
|
356
|
-
defaultValue?: string | number | readonly string[] | undefined;
|
|
357
361
|
suppressContentEditableWarning?: boolean | undefined;
|
|
358
362
|
suppressHydrationWarning?: boolean | undefined;
|
|
359
363
|
accessKey?: string | undefined;
|
|
@@ -368,11 +372,8 @@ export declare const StyledListItemIcon: import("@emotion/styled").StyledCompone
|
|
|
368
372
|
lang?: string | undefined;
|
|
369
373
|
nonce?: string | undefined;
|
|
370
374
|
placeholder?: string | undefined;
|
|
371
|
-
slot?: string | undefined;
|
|
372
375
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
373
|
-
style?: import("react").CSSProperties | undefined;
|
|
374
376
|
tabIndex?: number | undefined;
|
|
375
|
-
title?: string | undefined;
|
|
376
377
|
radioGroup?: string | undefined;
|
|
377
378
|
role?: import("react").AriaRole | undefined;
|
|
378
379
|
about?: string | undefined;
|
|
@@ -396,18 +397,18 @@ export declare const StyledListItemIcon: import("@emotion/styled").StyledCompone
|
|
|
396
397
|
results?: number | undefined;
|
|
397
398
|
security?: string | undefined;
|
|
398
399
|
unselectable?: "on" | "off" | undefined;
|
|
399
|
-
inputMode?: "
|
|
400
|
+
inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
400
401
|
is?: string | undefined;
|
|
401
402
|
'aria-activedescendant'?: string | undefined;
|
|
402
403
|
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
403
|
-
'aria-autocomplete'?: "
|
|
404
|
+
'aria-autocomplete'?: "inline" | "none" | "list" | "both" | undefined;
|
|
404
405
|
'aria-busy'?: (boolean | "true" | "false") | undefined;
|
|
405
406
|
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
406
407
|
'aria-colcount'?: number | undefined;
|
|
407
408
|
'aria-colindex'?: number | undefined;
|
|
408
409
|
'aria-colspan'?: number | undefined;
|
|
409
410
|
'aria-controls'?: string | undefined;
|
|
410
|
-
'aria-current'?: boolean | "
|
|
411
|
+
'aria-current'?: boolean | "time" | "page" | "true" | "false" | "step" | "location" | "date" | undefined;
|
|
411
412
|
'aria-describedby'?: string | undefined;
|
|
412
413
|
'aria-details'?: string | undefined;
|
|
413
414
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
@@ -416,7 +417,7 @@ export declare const StyledListItemIcon: import("@emotion/styled").StyledCompone
|
|
|
416
417
|
'aria-expanded'?: (boolean | "true" | "false") | undefined;
|
|
417
418
|
'aria-flowto'?: string | undefined;
|
|
418
419
|
'aria-grabbed'?: (boolean | "true" | "false") | undefined;
|
|
419
|
-
'aria-haspopup'?: boolean | "
|
|
420
|
+
'aria-haspopup'?: boolean | "dialog" | "menu" | "grid" | "listbox" | "true" | "false" | "tree" | undefined;
|
|
420
421
|
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
421
422
|
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
422
423
|
'aria-keyshortcuts'?: string | undefined;
|
|
@@ -465,7 +466,6 @@ export declare const StyledListItemIcon: import("@emotion/styled").StyledCompone
|
|
|
465
466
|
onFocusCapture?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
|
|
466
467
|
onBlur?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
|
|
467
468
|
onBlurCapture?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
|
|
468
|
-
onChange?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
469
469
|
onChangeCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
470
470
|
onBeforeInput?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
471
471
|
onBeforeInputCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export const getShortFullName = (fullname) => {
|
|
2
|
-
var _a, _b;
|
|
2
|
+
var _a, _b, _c, _d;
|
|
3
3
|
const arr = (fullname === null || fullname === void 0 ? void 0 : fullname.split(' ')) || [];
|
|
4
|
-
const innerName = ((_a = arr[1]) === null || _a === void 0 ? void 0 : _a.split('').at(0)) || '';
|
|
5
|
-
const innerMiddlename = ((
|
|
4
|
+
const innerName = ((_b = (_a = arr[1]) === null || _a === void 0 ? void 0 : _a.split('').at(0)) === null || _b === void 0 ? void 0 : _b.concat('.')) || '';
|
|
5
|
+
const innerMiddlename = ((_d = (_c = arr[2]) === null || _c === void 0 ? void 0 : _c.split('').at(0)) === null || _d === void 0 ? void 0 : _d.concat('.')) || '';
|
|
6
6
|
const innerLastname = arr.at(0) || '';
|
|
7
|
-
return `${innerLastname
|
|
7
|
+
return `${innerLastname} ${innerName}${innerMiddlename}`;
|
|
8
8
|
};
|
|
@@ -6,4 +6,4 @@ import { type AutocompleteProps } from '@astral/ui';
|
|
|
6
6
|
* @deprecated Используйте пакет @astral-private/crypto https://cryptodocs.astralnalog.ru/
|
|
7
7
|
* Причина отказа от поддержки: поддержка функционала теперь осуществляется централизовано командой Астрал-Софт в закрытом контуре.
|
|
8
8
|
*/
|
|
9
|
-
export declare const CryptoProCertAutocomplete: <
|
|
9
|
+
export declare const CryptoProCertAutocomplete: <TMultiple extends boolean, TDisableClearable extends boolean, TFreeSolo extends boolean>({ getOptionLabel, ...props }: AutocompleteProps<Certificate, TMultiple, TDisableClearable, TFreeSolo>) => JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { getCertificateExpiresDate } from '../../../../services';
|
|
2
1
|
import { CertificateType } from '../../../../constants';
|
|
2
|
+
import { getCertificateExpiresDate } from '../../../../services';
|
|
3
3
|
export const transformCertificate = (certificate) => {
|
|
4
|
-
const
|
|
4
|
+
const certificateTypeIfNotLegal = certificate.subject.ogrnip
|
|
5
5
|
? CertificateType.SoleTrader
|
|
6
6
|
: CertificateType.Individual;
|
|
7
7
|
const isCertificateTypeLegal = certificate.subject.innLe;
|
|
@@ -13,6 +13,6 @@ export const transformCertificate = (certificate) => {
|
|
|
13
13
|
inn: certificate.subject.innLe || certificate.subject.inn,
|
|
14
14
|
type: isCertificateTypeLegal
|
|
15
15
|
? CertificateType.LegalEntity
|
|
16
|
-
:
|
|
16
|
+
: certificateTypeIfNotLegal,
|
|
17
17
|
};
|
|
18
18
|
};
|
package/cryproPro/components/CryptoProCertFormAutocomplete/CryptoProCertFormAutocomplete.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { type Certificate } from '@astral/cryptopro-cades';
|
|
3
3
|
import { type AutocompleteProps, type WithFormFieldProps } from '@astral/ui';
|
|
4
|
-
export type CryptoProCertFormAutocompleteProps<
|
|
4
|
+
export type CryptoProCertFormAutocompleteProps<TMultiple extends boolean = false, TDisableClearable extends boolean = false, TFreeSolo extends boolean = false> = WithFormFieldProps<AutocompleteProps<Certificate, TMultiple, TDisableClearable, TFreeSolo>, any>;
|
|
5
5
|
/**
|
|
6
6
|
* Autocomplete с сертификатами для формы
|
|
7
7
|
* @deprecated Используйте пакет @astral-private/crypto https://cryptodocs.astralnalog.ru/
|
|
8
8
|
* Причина отказа от поддержки: поддержка функционала теперь осуществляется централизовано командой Астрал-Софт в закрытом контуре.
|
|
9
9
|
*/
|
|
10
|
-
export declare const CryptoProCertFormAutocomplete: <
|
|
10
|
+
export declare const CryptoProCertFormAutocomplete: <TMultiple extends boolean = false, TDisableClearable extends boolean = false>(props: CryptoProCertFormAutocompleteProps<TMultiple, TDisableClearable, false>) => JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { observer } from 'mobx-react-lite';
|
|
3
2
|
import { Global } from '@astral/ui';
|
|
3
|
+
import { observer } from 'mobx-react-lite';
|
|
4
4
|
import { SetupCryptoProWorkspaceModal } from '../SetupCryptoProWorkspaceModal';
|
|
5
5
|
/**
|
|
6
6
|
* Провайдер, который в случае отсутствия или неактивности
|
package/cryproPro/components/SetupCryptoProWorkspaceModal/CryptoproviderInfo/CryptoproviderInfo.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Button, Description, Tooltip } from '@astral/ui';
|
|
3
|
-
import { InfoFillSm, OpenLinkOutlineMd } from '@astral/ui';
|
|
2
|
+
import { Button, Description, InfoFillSm, OpenLinkOutlineMd, Tooltip, } from '@astral/ui';
|
|
4
3
|
import { WorkspaceInfoItem } from '../styles';
|
|
5
4
|
import { IconWrapper } from './styles';
|
|
6
5
|
export const CryptoproviderInfo = ({ workspaceSetupInfo }) => {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Button, Description, Typography } from '@astral/ui';
|
|
3
|
-
import { DownloadOutlineMd } from '@astral/ui';
|
|
2
|
+
import { Button, Description, DownloadOutlineMd, Typography } from '@astral/ui';
|
|
4
3
|
import { WorkspaceInfoItem } from '../styles';
|
|
5
4
|
export const PluginInfo = ({ workspaceSetupInfo }) => {
|
|
6
5
|
return (_jsxs(WorkspaceInfoItem, { children: [_jsxs(Description, { children: [_jsx(Description.Name, { children: "\u041F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435" }), _jsx(Description.Value, { children: "\u041A\u0440\u0438\u043F\u0442\u043E\u041F\u0440\u043E \u042D\u0426\u041F Browser plug-in" })] }), workspaceSetupInfo.isPluginInstalled ? (_jsx(Typography, { color: "green", colorIntensity: "900", children: "\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043E" })) : (_jsx(Button, { variant: "text", endIcon: _jsx(DownloadOutlineMd, {}), href: "https://www.cryptopro.ru/products/cades/plugin/get_2_0",
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Button, Dialog, DialogActions, DialogContent, Typography, } from '@astral/ui';
|
|
3
|
-
import { RefreshOutlineMd } from '@astral/ui';
|
|
2
|
+
import { Button, Dialog, DialogActions, DialogContent, RefreshOutlineMd, Typography, } from '@astral/ui';
|
|
4
3
|
import { CryptoproviderInfo } from './CryptoproviderInfo';
|
|
5
4
|
import { PluginInfo } from './PluginInfo';
|
|
6
5
|
import { WorkspaceInfoWrapper } from './styles';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './SetupCryptoProWorkspaceModal';
|
|
2
|
-
export * from './CryptoProCertFormAutocomplete';
|
|
3
1
|
export * from './CryptoProCertAutocomplete';
|
|
2
|
+
export * from './CryptoProCertFormAutocomplete';
|
|
4
3
|
export * from './CryptoProProvider';
|
|
4
|
+
export * from './SetupCryptoProWorkspaceModal';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './SetupCryptoProWorkspaceModal';
|
|
2
|
-
export * from './CryptoProCertFormAutocomplete';
|
|
3
1
|
export * from './CryptoProCertAutocomplete';
|
|
2
|
+
export * from './CryptoProCertFormAutocomplete';
|
|
4
3
|
export * from './CryptoProProvider';
|
|
4
|
+
export * from './SetupCryptoProWorkspaceModal';
|
package/cryproPro/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { CryptoProCertAutocomplete, CryptoProCertFormAutocomplete, CryptoProProvider, SetupCryptoProWorkspaceModal, } from './components';
|
|
2
2
|
export { CryptoProStore } from './stores';
|
|
3
3
|
export { Certificate } from './types';
|
package/cryproPro/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { CryptoProCertAutocomplete, CryptoProCertFormAutocomplete, CryptoProProvider, SetupCryptoProWorkspaceModal, } from './components';
|
|
2
2
|
export { CryptoProStore } from './stores';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { findCertificateBySkid, getCertificates, STORE_TYPE, } from '@astral/cryptopro-cades';
|
|
2
2
|
import { getCertificateExpiresDate, getCertificateOwnerShortName, getCertificateType, } from './utils';
|
|
3
3
|
/**
|
|
4
4
|
* Сервис для сертификатов КриптоПро
|
|
@@ -7,8 +7,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
7
7
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
|
-
import { notify } from '@astral/ui';
|
|
11
10
|
import { getSystemInfo, } from '@astral/cryptopro-cades';
|
|
11
|
+
import { notify } from '@astral/ui';
|
|
12
12
|
import { CRYPTO_PROVIDER_NOT_FOUND_CODE, PLUGIN_NOT_INITIALIZED_CODE, PLUGIN_NOT_INSTALLED_CODE, } from '../../constants';
|
|
13
13
|
/**
|
|
14
14
|
* Сервис для настройки рабочего места
|
package/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './cryproPro';
|
|
2
|
-
export { IdentityProductSwitcher, AstralProductSwitcher, } from './productSwitcher';
|
|
3
1
|
export { AutoSaveIndicatorStore, useInitAutoSaveIndicatorStore, } from './AutoSaveIndicatorService';
|
|
2
|
+
export * from './cryproPro';
|
|
3
|
+
export { AstralProductSwitcher, IdentityProductSwitcher, } from './productSwitcher';
|
package/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './cryproPro';
|
|
2
|
-
export { IdentityProductSwitcher, AstralProductSwitcher, } from './productSwitcher';
|
|
3
1
|
export { AutoSaveIndicatorStore, useInitAutoSaveIndicatorStore, } from './AutoSaveIndicatorService';
|
|
2
|
+
export * from './cryproPro';
|
|
3
|
+
export { AstralProductSwitcher, IdentityProductSwitcher, } from './productSwitcher';
|
|
@@ -14,5 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./stores/AutoSaveIndicatorStore"), exports);
|
|
18
17
|
__exportStar(require("./hooks/useInitAutoSaveIndicatorStore"), exports);
|
|
18
|
+
__exportStar(require("./stores/AutoSaveIndicatorStore"), exports);
|