@astral/features 4.17.6 → 4.18.0-rc.1
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/node/productSwitcher/components/AstralProductSwitcher/public.js +18 -0
- package/node/productSwitcher/{AstralProductSwitcher → components/AstralProductSwitcher}/utils/getFilteredProducts/getFilteredProducts.js +2 -2
- package/{productSwitcher → node/productSwitcher/components}/IdentityProductSwitcher/hooks/useLogic/useLogic.d.ts +1 -1
- package/node/productSwitcher/components/IdentityProductSwitcher/public.js +17 -0
- package/node/productSwitcher/components/IdentityProductSwitcher/styles.d.ts +26 -0
- package/{productSwitcher → node/productSwitcher/components}/IdentityProductSwitcher/utils/getIdentityTenants/getIdentityTenants.d.ts +1 -1
- package/node/productSwitcher/{IdentityProductSwitcher → components/IdentityProductSwitcher}/utils/getTenantsProducts/getTenantsProducts.js +1 -1
- package/node/productSwitcher/components/index.d.ts +2 -0
- package/node/productSwitcher/components/index.js +18 -0
- package/node/productSwitcher/index.d.ts +1 -2
- package/node/productSwitcher/index.js +3 -4
- package/package.json +2 -9
- package/productSwitcher/components/AstralProductSwitcher/index.js +2 -0
- package/productSwitcher/components/AstralProductSwitcher/public.d.ts +2 -0
- package/productSwitcher/components/AstralProductSwitcher/public.js +2 -0
- package/productSwitcher/{AstralProductSwitcher → components/AstralProductSwitcher}/utils/getFilteredProducts/getFilteredProducts.js +2 -2
- package/{node/productSwitcher → productSwitcher/components}/IdentityProductSwitcher/hooks/useLogic/useLogic.d.ts +1 -1
- package/productSwitcher/components/IdentityProductSwitcher/index.js +1 -0
- package/productSwitcher/components/IdentityProductSwitcher/public.d.ts +1 -0
- package/productSwitcher/components/IdentityProductSwitcher/public.js +1 -0
- package/productSwitcher/components/IdentityProductSwitcher/styles.d.ts +26 -0
- package/{node/productSwitcher → productSwitcher/components}/IdentityProductSwitcher/utils/getIdentityTenants/getIdentityTenants.d.ts +1 -1
- package/productSwitcher/{IdentityProductSwitcher → components/IdentityProductSwitcher}/utils/getTenantsProducts/getTenantsProducts.js +1 -1
- package/productSwitcher/components/index.d.ts +2 -0
- package/productSwitcher/components/index.js +2 -0
- package/productSwitcher/index.d.ts +1 -2
- package/productSwitcher/index.js +1 -2
- package/node/productSwitcher/AstralProductSwitcher/public.d.ts +0 -1
- package/node/productSwitcher/AstralProductSwitcher/public.js +0 -5
- package/node/productSwitcher/IdentityProductSwitcher/public.d.ts +0 -1
- package/node/productSwitcher/IdentityProductSwitcher/public.js +0 -5
- package/node/productSwitcher/IdentityProductSwitcher/styles.d.ts +0 -11
- package/productSwitcher/AstralProductSwitcher/public.d.ts +0 -1
- package/productSwitcher/AstralProductSwitcher/public.js +0 -1
- package/productSwitcher/IdentityProductSwitcher/public.d.ts +0 -1
- package/productSwitcher/IdentityProductSwitcher/public.js +0 -1
- package/productSwitcher/IdentityProductSwitcher/styles.d.ts +0 -11
- /package/node/productSwitcher/{AstralProductSwitcher → components/AstralProductSwitcher}/AstralProductSwitcher.d.ts +0 -0
- /package/node/productSwitcher/{AstralProductSwitcher → components/AstralProductSwitcher}/AstralProductSwitcher.js +0 -0
- /package/node/productSwitcher/{AstralProductSwitcher → components/AstralProductSwitcher}/enums.d.ts +0 -0
- /package/node/productSwitcher/{AstralProductSwitcher → components/AstralProductSwitcher}/enums.js +0 -0
- /package/node/productSwitcher/{AstralProductSwitcher → components/AstralProductSwitcher}/index.d.ts +0 -0
- /package/node/productSwitcher/{AstralProductSwitcher → components/AstralProductSwitcher}/index.js +0 -0
- /package/{productSwitcher/AstralProductSwitcher/index.d.ts → node/productSwitcher/components/AstralProductSwitcher/public.d.ts} +0 -0
- /package/node/productSwitcher/{AstralProductSwitcher → components/AstralProductSwitcher}/stories/BasicUsage.story.d.ts +0 -0
- /package/node/productSwitcher/{AstralProductSwitcher → components/AstralProductSwitcher}/stories/BasicUsage.story.js +0 -0
- /package/node/productSwitcher/{AstralProductSwitcher → components/AstralProductSwitcher}/stories/Group.story.d.ts +0 -0
- /package/node/productSwitcher/{AstralProductSwitcher → components/AstralProductSwitcher}/stories/Group.story.js +0 -0
- /package/node/productSwitcher/{AstralProductSwitcher → components/AstralProductSwitcher}/stories/Interaction.story.d.ts +0 -0
- /package/node/productSwitcher/{AstralProductSwitcher → components/AstralProductSwitcher}/stories/Interaction.story.js +0 -0
- /package/node/productSwitcher/{AstralProductSwitcher → components/AstralProductSwitcher}/stories/Tenant.story.d.ts +0 -0
- /package/node/productSwitcher/{AstralProductSwitcher → components/AstralProductSwitcher}/stories/Tenant.story.js +0 -0
- /package/node/productSwitcher/{AstralProductSwitcher → components/AstralProductSwitcher}/stories/common/index.d.ts +0 -0
- /package/node/productSwitcher/{AstralProductSwitcher → components/AstralProductSwitcher}/stories/common/index.js +0 -0
- /package/node/productSwitcher/{AstralProductSwitcher → components/AstralProductSwitcher}/stories/common/mockData.d.ts +0 -0
- /package/node/productSwitcher/{AstralProductSwitcher → components/AstralProductSwitcher}/stories/common/mockData.js +0 -0
- /package/node/productSwitcher/{AstralProductSwitcher → components/AstralProductSwitcher}/stories/common/mockResponses.d.ts +0 -0
- /package/node/productSwitcher/{AstralProductSwitcher → components/AstralProductSwitcher}/stories/common/mockResponses.js +0 -0
- /package/node/productSwitcher/{AstralProductSwitcher → components/AstralProductSwitcher}/utils/getFilteredProducts/getFilteredProducts.d.ts +0 -0
- /package/node/productSwitcher/{AstralProductSwitcher → components/AstralProductSwitcher}/utils/getFilteredProducts/index.d.ts +0 -0
- /package/node/productSwitcher/{AstralProductSwitcher → components/AstralProductSwitcher}/utils/getFilteredProducts/index.js +0 -0
- /package/node/productSwitcher/{AstralProductSwitcher → components/AstralProductSwitcher}/utils/index.d.ts +0 -0
- /package/node/productSwitcher/{AstralProductSwitcher → components/AstralProductSwitcher}/utils/index.js +0 -0
- /package/node/productSwitcher/{IdentityProductSwitcher → components/IdentityProductSwitcher}/IdentityProductSwitcher.d.ts +0 -0
- /package/node/productSwitcher/{IdentityProductSwitcher → components/IdentityProductSwitcher}/IdentityProductSwitcher.js +0 -0
- /package/node/productSwitcher/{IdentityProductSwitcher → components/IdentityProductSwitcher}/hooks/index.d.ts +0 -0
- /package/node/productSwitcher/{IdentityProductSwitcher → components/IdentityProductSwitcher}/hooks/index.js +0 -0
- /package/node/productSwitcher/{IdentityProductSwitcher → components/IdentityProductSwitcher}/hooks/useLogic/index.d.ts +0 -0
- /package/node/productSwitcher/{IdentityProductSwitcher → components/IdentityProductSwitcher}/hooks/useLogic/index.js +0 -0
- /package/node/productSwitcher/{IdentityProductSwitcher → components/IdentityProductSwitcher}/hooks/useLogic/useLogic.js +0 -0
- /package/node/productSwitcher/{IdentityProductSwitcher → components/IdentityProductSwitcher}/index.d.ts +0 -0
- /package/node/productSwitcher/{IdentityProductSwitcher → components/IdentityProductSwitcher}/index.js +0 -0
- /package/{productSwitcher/IdentityProductSwitcher/index.d.ts → node/productSwitcher/components/IdentityProductSwitcher/public.d.ts} +0 -0
- /package/node/productSwitcher/{IdentityProductSwitcher → components/IdentityProductSwitcher}/stories/BasicUsage.story.d.ts +0 -0
- /package/node/productSwitcher/{IdentityProductSwitcher → components/IdentityProductSwitcher}/stories/BasicUsage.story.js +0 -0
- /package/node/productSwitcher/{IdentityProductSwitcher → components/IdentityProductSwitcher}/stories/Interaction.story.d.ts +0 -0
- /package/node/productSwitcher/{IdentityProductSwitcher → components/IdentityProductSwitcher}/stories/Interaction.story.js +0 -0
- /package/node/productSwitcher/{IdentityProductSwitcher → components/IdentityProductSwitcher}/stories/common/index.d.ts +0 -0
- /package/node/productSwitcher/{IdentityProductSwitcher → components/IdentityProductSwitcher}/stories/common/index.js +0 -0
- /package/node/productSwitcher/{IdentityProductSwitcher → components/IdentityProductSwitcher}/stories/common/mockData.d.ts +0 -0
- /package/node/productSwitcher/{IdentityProductSwitcher → components/IdentityProductSwitcher}/stories/common/mockData.js +0 -0
- /package/node/productSwitcher/{IdentityProductSwitcher → components/IdentityProductSwitcher}/stories/common/mockResponses.d.ts +0 -0
- /package/node/productSwitcher/{IdentityProductSwitcher → components/IdentityProductSwitcher}/stories/common/mockResponses.js +0 -0
- /package/node/productSwitcher/{IdentityProductSwitcher → components/IdentityProductSwitcher}/styles.js +0 -0
- /package/node/productSwitcher/{IdentityProductSwitcher → components/IdentityProductSwitcher}/utils/getIdentityTenants/getIdentityTenants.js +0 -0
- /package/node/productSwitcher/{IdentityProductSwitcher → components/IdentityProductSwitcher}/utils/getIdentityTenants/index.d.ts +0 -0
- /package/node/productSwitcher/{IdentityProductSwitcher → components/IdentityProductSwitcher}/utils/getIdentityTenants/index.js +0 -0
- /package/node/productSwitcher/{IdentityProductSwitcher → components/IdentityProductSwitcher}/utils/getTenantsProducts/getTenantsProducts.d.ts +0 -0
- /package/node/productSwitcher/{IdentityProductSwitcher → components/IdentityProductSwitcher}/utils/getTenantsProducts/index.d.ts +0 -0
- /package/node/productSwitcher/{IdentityProductSwitcher → components/IdentityProductSwitcher}/utils/getTenantsProducts/index.js +0 -0
- /package/node/productSwitcher/{IdentityProductSwitcher → components/IdentityProductSwitcher}/utils/index.d.ts +0 -0
- /package/node/productSwitcher/{IdentityProductSwitcher → components/IdentityProductSwitcher}/utils/index.js +0 -0
- /package/productSwitcher/{AstralProductSwitcher → components/AstralProductSwitcher}/AstralProductSwitcher.d.ts +0 -0
- /package/productSwitcher/{AstralProductSwitcher → components/AstralProductSwitcher}/AstralProductSwitcher.js +0 -0
- /package/productSwitcher/{AstralProductSwitcher → components/AstralProductSwitcher}/enums.d.ts +0 -0
- /package/productSwitcher/{AstralProductSwitcher → components/AstralProductSwitcher}/enums.js +0 -0
- /package/productSwitcher/{AstralProductSwitcher/index.js → components/AstralProductSwitcher/index.d.ts} +0 -0
- /package/productSwitcher/{AstralProductSwitcher → components/AstralProductSwitcher}/stories/BasicUsage.story.d.ts +0 -0
- /package/productSwitcher/{AstralProductSwitcher → components/AstralProductSwitcher}/stories/BasicUsage.story.js +0 -0
- /package/productSwitcher/{AstralProductSwitcher → components/AstralProductSwitcher}/stories/Group.story.d.ts +0 -0
- /package/productSwitcher/{AstralProductSwitcher → components/AstralProductSwitcher}/stories/Group.story.js +0 -0
- /package/productSwitcher/{AstralProductSwitcher → components/AstralProductSwitcher}/stories/Interaction.story.d.ts +0 -0
- /package/productSwitcher/{AstralProductSwitcher → components/AstralProductSwitcher}/stories/Interaction.story.js +0 -0
- /package/productSwitcher/{AstralProductSwitcher → components/AstralProductSwitcher}/stories/Tenant.story.d.ts +0 -0
- /package/productSwitcher/{AstralProductSwitcher → components/AstralProductSwitcher}/stories/Tenant.story.js +0 -0
- /package/productSwitcher/{AstralProductSwitcher → components/AstralProductSwitcher}/stories/common/index.d.ts +0 -0
- /package/productSwitcher/{AstralProductSwitcher → components/AstralProductSwitcher}/stories/common/index.js +0 -0
- /package/productSwitcher/{AstralProductSwitcher → components/AstralProductSwitcher}/stories/common/mockData.d.ts +0 -0
- /package/productSwitcher/{AstralProductSwitcher → components/AstralProductSwitcher}/stories/common/mockData.js +0 -0
- /package/productSwitcher/{AstralProductSwitcher → components/AstralProductSwitcher}/stories/common/mockResponses.d.ts +0 -0
- /package/productSwitcher/{AstralProductSwitcher → components/AstralProductSwitcher}/stories/common/mockResponses.js +0 -0
- /package/productSwitcher/{AstralProductSwitcher → components/AstralProductSwitcher}/utils/getFilteredProducts/getFilteredProducts.d.ts +0 -0
- /package/productSwitcher/{AstralProductSwitcher → components/AstralProductSwitcher}/utils/getFilteredProducts/index.d.ts +0 -0
- /package/productSwitcher/{AstralProductSwitcher → components/AstralProductSwitcher}/utils/getFilteredProducts/index.js +0 -0
- /package/productSwitcher/{AstralProductSwitcher → components/AstralProductSwitcher}/utils/index.d.ts +0 -0
- /package/productSwitcher/{AstralProductSwitcher → components/AstralProductSwitcher}/utils/index.js +0 -0
- /package/productSwitcher/{IdentityProductSwitcher → components/IdentityProductSwitcher}/IdentityProductSwitcher.d.ts +0 -0
- /package/productSwitcher/{IdentityProductSwitcher → components/IdentityProductSwitcher}/IdentityProductSwitcher.js +0 -0
- /package/productSwitcher/{IdentityProductSwitcher → components/IdentityProductSwitcher}/hooks/index.d.ts +0 -0
- /package/productSwitcher/{IdentityProductSwitcher → components/IdentityProductSwitcher}/hooks/index.js +0 -0
- /package/productSwitcher/{IdentityProductSwitcher → components/IdentityProductSwitcher}/hooks/useLogic/index.d.ts +0 -0
- /package/productSwitcher/{IdentityProductSwitcher → components/IdentityProductSwitcher}/hooks/useLogic/index.js +0 -0
- /package/productSwitcher/{IdentityProductSwitcher → components/IdentityProductSwitcher}/hooks/useLogic/useLogic.js +0 -0
- /package/productSwitcher/{IdentityProductSwitcher/index.js → components/IdentityProductSwitcher/index.d.ts} +0 -0
- /package/productSwitcher/{IdentityProductSwitcher → components/IdentityProductSwitcher}/stories/BasicUsage.story.d.ts +0 -0
- /package/productSwitcher/{IdentityProductSwitcher → components/IdentityProductSwitcher}/stories/BasicUsage.story.js +0 -0
- /package/productSwitcher/{IdentityProductSwitcher → components/IdentityProductSwitcher}/stories/Interaction.story.d.ts +0 -0
- /package/productSwitcher/{IdentityProductSwitcher → components/IdentityProductSwitcher}/stories/Interaction.story.js +0 -0
- /package/productSwitcher/{IdentityProductSwitcher → components/IdentityProductSwitcher}/stories/common/index.d.ts +0 -0
- /package/productSwitcher/{IdentityProductSwitcher → components/IdentityProductSwitcher}/stories/common/index.js +0 -0
- /package/productSwitcher/{IdentityProductSwitcher → components/IdentityProductSwitcher}/stories/common/mockData.d.ts +0 -0
- /package/productSwitcher/{IdentityProductSwitcher → components/IdentityProductSwitcher}/stories/common/mockData.js +0 -0
- /package/productSwitcher/{IdentityProductSwitcher → components/IdentityProductSwitcher}/stories/common/mockResponses.d.ts +0 -0
- /package/productSwitcher/{IdentityProductSwitcher → components/IdentityProductSwitcher}/stories/common/mockResponses.js +0 -0
- /package/productSwitcher/{IdentityProductSwitcher → components/IdentityProductSwitcher}/styles.js +0 -0
- /package/productSwitcher/{IdentityProductSwitcher → components/IdentityProductSwitcher}/utils/getIdentityTenants/getIdentityTenants.js +0 -0
- /package/productSwitcher/{IdentityProductSwitcher → components/IdentityProductSwitcher}/utils/getIdentityTenants/index.d.ts +0 -0
- /package/productSwitcher/{IdentityProductSwitcher → components/IdentityProductSwitcher}/utils/getIdentityTenants/index.js +0 -0
- /package/productSwitcher/{IdentityProductSwitcher → components/IdentityProductSwitcher}/utils/getTenantsProducts/getTenantsProducts.d.ts +0 -0
- /package/productSwitcher/{IdentityProductSwitcher → components/IdentityProductSwitcher}/utils/getTenantsProducts/index.d.ts +0 -0
- /package/productSwitcher/{IdentityProductSwitcher → components/IdentityProductSwitcher}/utils/getTenantsProducts/index.js +0 -0
- /package/productSwitcher/{IdentityProductSwitcher → components/IdentityProductSwitcher}/utils/index.d.ts +0 -0
- /package/productSwitcher/{IdentityProductSwitcher → components/IdentityProductSwitcher}/utils/index.js +0 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./AstralProductSwitcher"), exports);
|
|
18
|
+
__exportStar(require("./enums"), exports);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getFilteredProducts = void 0;
|
|
4
|
-
const utils_1 = require("
|
|
5
|
-
const getGroupsProducts_1 = require("
|
|
4
|
+
const utils_1 = require("../../../../utils");
|
|
5
|
+
const getGroupsProducts_1 = require("../../../../utils/getGroupsProducts");
|
|
6
6
|
const enums_1 = require("../../enums");
|
|
7
7
|
/**
|
|
8
8
|
* Получение всех продуктов из разных экосистем и группировка в единую мапу
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type WidgetProduct } from '@astral/ui';
|
|
2
2
|
import { type MouseEvent } from 'react';
|
|
3
|
-
import { type IdentityTenantsDTO } from '
|
|
3
|
+
import { type IdentityTenantsDTO } from '../../../../types';
|
|
4
4
|
export declare const useLogic: (identityUrl: string, openMenu: () => void) => {
|
|
5
5
|
handleShowProducts: () => void;
|
|
6
6
|
isLoading: boolean;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./IdentityProductSwitcher"), exports);
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const StyledMenu: import("@emotion/styled").StyledComponent<import("@astral/ui").WithoutEmotionSpecific<import("@mui/material").MenuProps> & {
|
|
3
|
+
title?: string | undefined;
|
|
4
|
+
} & {
|
|
5
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
6
|
+
}, {}, {}>;
|
|
7
|
+
export declare const StyledMenuItem: <TComponent extends import("react").ElementType>(props: import("@astral/ui").WithoutEmotionSpecific<import("@mui/material").MenuItemProps> & {
|
|
8
|
+
disabledReason?: string | undefined;
|
|
9
|
+
note?: string | undefined;
|
|
10
|
+
tooltipPlacement?: "bottom" | "left" | "right" | "top" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end" | undefined;
|
|
11
|
+
component?: TComponent | undefined;
|
|
12
|
+
href?: string | undefined;
|
|
13
|
+
} & import("react").ComponentPropsWithRef<import("react").ElementType extends TComponent ? "li" : TComponent> & import("react").RefAttributes<HTMLLIElement>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | null;
|
|
14
|
+
export declare const Logo: import("@emotion/styled").StyledComponent<{
|
|
15
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
16
|
+
as?: import("react").ElementType<any> | undefined;
|
|
17
|
+
}, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
18
|
+
export declare const ErrorContainer: import("@emotion/styled").StyledComponent<Omit<import("@astral/ui/src/components/Grid/GridComponent").GridComponentProps, "ref"> & import("react").RefAttributes<HTMLDivElement> & {
|
|
19
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
20
|
+
} & import("@astral/ui/src/components/Grid/styles").StyledGridProps, {}, {}>;
|
|
21
|
+
export declare const TenantsToggleButtonGroup: import("@emotion/styled").StyledComponent<Omit<import("@astral/ui").ToggleButtonGroupProps, "ref"> & import("react").RefAttributes<HTMLDivElement> & {
|
|
22
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
23
|
+
}, {}, {}>;
|
|
24
|
+
export declare const TenantToggleButton: import("@emotion/styled").StyledComponent<Omit<import("@astral/ui/src/components/ToggleButton/types").ToggleButtonProps, "ref"> & import("react").RefAttributes<HTMLButtonElement> & {
|
|
25
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
26
|
+
}, {}, {}>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getTenantsProducts = void 0;
|
|
4
|
-
const utils_1 = require("
|
|
4
|
+
const utils_1 = require("../../../../utils");
|
|
5
5
|
/**
|
|
6
6
|
* Получение всех продуктов из разных экосистем и группировка в единую мапу
|
|
7
7
|
* @param identityUrl - ссылка на identity
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./AstralProductSwitcher"), exports);
|
|
18
|
+
__exportStar(require("./IdentityProductSwitcher"), exports);
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export { AstralProductSwitcher } from './
|
|
2
|
-
export { IdentityProductSwitcher } from './IdentityProductSwitcher';
|
|
1
|
+
export { AstralProductSwitcher, IdentityProductSwitcher } from './components';
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.IdentityProductSwitcher = exports.AstralProductSwitcher = void 0;
|
|
4
|
-
var
|
|
5
|
-
Object.defineProperty(exports, "AstralProductSwitcher", { enumerable: true, get: function () { return
|
|
6
|
-
|
|
7
|
-
Object.defineProperty(exports, "IdentityProductSwitcher", { enumerable: true, get: function () { return IdentityProductSwitcher_1.IdentityProductSwitcher; } });
|
|
4
|
+
var components_1 = require("./components");
|
|
5
|
+
Object.defineProperty(exports, "AstralProductSwitcher", { enumerable: true, get: function () { return components_1.AstralProductSwitcher; } });
|
|
6
|
+
Object.defineProperty(exports, "IdentityProductSwitcher", { enumerable: true, get: function () { return components_1.IdentityProductSwitcher; } });
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astral/features",
|
|
3
3
|
"main": "./node/index.js",
|
|
4
|
-
"version": "4.
|
|
4
|
+
"version": "4.18.0-rc.1",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@astral/ui": "4.
|
|
6
|
+
"@astral/ui": "4.18.0-rc.1",
|
|
7
7
|
"mobx": "^6.8.0",
|
|
8
8
|
"mobx-react-lite": "^3.4.0",
|
|
9
9
|
"@astral/cryptopro-cades": "^1.5.1"
|
|
@@ -20,13 +20,6 @@
|
|
|
20
20
|
"types": "./index.d.ts",
|
|
21
21
|
"default": "./index.js",
|
|
22
22
|
"import": "./index.js"
|
|
23
|
-
},
|
|
24
|
-
"./*": {
|
|
25
|
-
"module": "./*/public.js",
|
|
26
|
-
"require": "./node/*/public.js",
|
|
27
|
-
"types": "./*/public.d.ts",
|
|
28
|
-
"default": "./*/public.js",
|
|
29
|
-
"import": "./*/public.js"
|
|
30
23
|
}
|
|
31
24
|
},
|
|
32
25
|
"author": "Astral.Soft",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { getIdentityProducts } from '
|
|
2
|
-
import { getGroupsProducts } from '
|
|
1
|
+
import { getIdentityProducts } from '../../../../utils';
|
|
2
|
+
import { getGroupsProducts } from '../../../../utils/getGroupsProducts';
|
|
3
3
|
import { ProductFilterType } from '../../enums';
|
|
4
4
|
/**
|
|
5
5
|
* Получение всех продуктов из разных экосистем и группировка в единую мапу
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type WidgetProduct } from '@astral/ui';
|
|
2
2
|
import { type MouseEvent } from 'react';
|
|
3
|
-
import { type IdentityTenantsDTO } from '
|
|
3
|
+
import { type IdentityTenantsDTO } from '../../../../types';
|
|
4
4
|
export declare const useLogic: (identityUrl: string, openMenu: () => void) => {
|
|
5
5
|
handleShowProducts: () => void;
|
|
6
6
|
isLoading: boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './IdentityProductSwitcher';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './IdentityProductSwitcher';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './IdentityProductSwitcher';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const StyledMenu: import("@emotion/styled").StyledComponent<import("@astral/ui").WithoutEmotionSpecific<import("@mui/material").MenuProps> & {
|
|
3
|
+
title?: string | undefined;
|
|
4
|
+
} & {
|
|
5
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
6
|
+
}, {}, {}>;
|
|
7
|
+
export declare const StyledMenuItem: <TComponent extends import("react").ElementType>(props: import("@astral/ui").WithoutEmotionSpecific<import("@mui/material").MenuItemProps> & {
|
|
8
|
+
disabledReason?: string | undefined;
|
|
9
|
+
note?: string | undefined;
|
|
10
|
+
tooltipPlacement?: "bottom" | "left" | "right" | "top" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end" | undefined;
|
|
11
|
+
component?: TComponent | undefined;
|
|
12
|
+
href?: string | undefined;
|
|
13
|
+
} & import("react").ComponentPropsWithRef<import("react").ElementType extends TComponent ? "li" : TComponent> & import("react").RefAttributes<HTMLLIElement>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | null;
|
|
14
|
+
export declare const Logo: import("@emotion/styled").StyledComponent<{
|
|
15
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
16
|
+
as?: import("react").ElementType<any> | undefined;
|
|
17
|
+
}, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
18
|
+
export declare const ErrorContainer: import("@emotion/styled").StyledComponent<Omit<import("@astral/ui/src/components/Grid/GridComponent").GridComponentProps, "ref"> & import("react").RefAttributes<HTMLDivElement> & {
|
|
19
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
20
|
+
} & import("@astral/ui/src/components/Grid/styles").StyledGridProps, {}, {}>;
|
|
21
|
+
export declare const TenantsToggleButtonGroup: import("@emotion/styled").StyledComponent<Omit<import("@astral/ui").ToggleButtonGroupProps, "ref"> & import("react").RefAttributes<HTMLDivElement> & {
|
|
22
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
23
|
+
}, {}, {}>;
|
|
24
|
+
export declare const TenantToggleButton: import("@emotion/styled").StyledComponent<Omit<import("@astral/ui/src/components/ToggleButton/types").ToggleButtonProps, "ref"> & import("react").RefAttributes<HTMLButtonElement> & {
|
|
25
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
26
|
+
}, {}, {}>;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export { AstralProductSwitcher } from './
|
|
2
|
-
export { IdentityProductSwitcher } from './IdentityProductSwitcher';
|
|
1
|
+
export { AstralProductSwitcher, IdentityProductSwitcher } from './components';
|
package/productSwitcher/index.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export { AstralProductSwitcher } from './
|
|
2
|
-
export { IdentityProductSwitcher } from './IdentityProductSwitcher';
|
|
1
|
+
export { AstralProductSwitcher, IdentityProductSwitcher } from './components';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { AstralProductSwitcher } from './AstralProductSwitcher';
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AstralProductSwitcher = void 0;
|
|
4
|
-
var AstralProductSwitcher_1 = require("./AstralProductSwitcher");
|
|
5
|
-
Object.defineProperty(exports, "AstralProductSwitcher", { enumerable: true, get: function () { return AstralProductSwitcher_1.AstralProductSwitcher; } });
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { IdentityProductSwitcher } from './IdentityProductSwitcher';
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.IdentityProductSwitcher = void 0;
|
|
4
|
-
var IdentityProductSwitcher_1 = require("./IdentityProductSwitcher");
|
|
5
|
-
Object.defineProperty(exports, "IdentityProductSwitcher", { enumerable: true, get: function () { return IdentityProductSwitcher_1.IdentityProductSwitcher; } });
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Grid, MenuItem, type StyledComponent, ToggleButton, ToggleButtonGroup } from '@astral/ui';
|
|
2
|
-
import type { ComponentProps } from 'react';
|
|
3
|
-
export declare const StyledMenu: ({ children, onClose, open, title, ...restProps }: import("@astral/ui").MenuProps) => JSX.Element;
|
|
4
|
-
export declare const StyledMenuItem: typeof MenuItem;
|
|
5
|
-
export declare const Logo: StyledComponent<{
|
|
6
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
7
|
-
as?: import("react").ElementType<any> | undefined;
|
|
8
|
-
}, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
9
|
-
export declare const ErrorContainer: StyledComponent<ComponentProps<typeof Grid>>;
|
|
10
|
-
export declare const TenantsToggleButtonGroup: StyledComponent<ComponentProps<typeof ToggleButtonGroup>>;
|
|
11
|
-
export declare const TenantToggleButton: StyledComponent<ComponentProps<typeof ToggleButton>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { AstralProductSwitcher } from './AstralProductSwitcher';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { AstralProductSwitcher } from './AstralProductSwitcher';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { IdentityProductSwitcher } from './IdentityProductSwitcher';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { IdentityProductSwitcher } from './IdentityProductSwitcher';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Grid, MenuItem, type StyledComponent, ToggleButton, ToggleButtonGroup } from '@astral/ui';
|
|
2
|
-
import type { ComponentProps } from 'react';
|
|
3
|
-
export declare const StyledMenu: ({ children, onClose, open, title, ...restProps }: import("@astral/ui").MenuProps) => JSX.Element;
|
|
4
|
-
export declare const StyledMenuItem: typeof MenuItem;
|
|
5
|
-
export declare const Logo: StyledComponent<{
|
|
6
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
7
|
-
as?: import("react").ElementType<any> | undefined;
|
|
8
|
-
}, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
9
|
-
export declare const ErrorContainer: StyledComponent<ComponentProps<typeof Grid>>;
|
|
10
|
-
export declare const TenantsToggleButtonGroup: StyledComponent<ComponentProps<typeof ToggleButtonGroup>>;
|
|
11
|
-
export declare const TenantToggleButton: StyledComponent<ComponentProps<typeof ToggleButton>>;
|
|
File without changes
|
|
File without changes
|
/package/node/productSwitcher/{AstralProductSwitcher → components/AstralProductSwitcher}/enums.d.ts
RENAMED
|
File without changes
|
/package/node/productSwitcher/{AstralProductSwitcher → components/AstralProductSwitcher}/enums.js
RENAMED
|
File without changes
|
/package/node/productSwitcher/{AstralProductSwitcher → components/AstralProductSwitcher}/index.d.ts
RENAMED
|
File without changes
|
/package/node/productSwitcher/{AstralProductSwitcher → components/AstralProductSwitcher}/index.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/productSwitcher/{AstralProductSwitcher → components/AstralProductSwitcher}/enums.d.ts
RENAMED
|
File without changes
|
/package/productSwitcher/{AstralProductSwitcher → components/AstralProductSwitcher}/enums.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/productSwitcher/{AstralProductSwitcher → components/AstralProductSwitcher}/utils/index.d.ts
RENAMED
|
File without changes
|
/package/productSwitcher/{AstralProductSwitcher → components/AstralProductSwitcher}/utils/index.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/productSwitcher/{IdentityProductSwitcher → components/IdentityProductSwitcher}/styles.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|