@astral/features 4.17.4 → 4.17.6

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.
Files changed (143) hide show
  1. package/node/productSwitcher/AstralProductSwitcher/public.d.ts +1 -0
  2. package/node/productSwitcher/AstralProductSwitcher/public.js +5 -0
  3. package/node/productSwitcher/{components/AstralProductSwitcher → AstralProductSwitcher}/utils/getFilteredProducts/getFilteredProducts.js +2 -2
  4. package/{productSwitcher/components → node/productSwitcher}/IdentityProductSwitcher/hooks/useLogic/useLogic.d.ts +1 -1
  5. package/node/productSwitcher/IdentityProductSwitcher/public.d.ts +1 -0
  6. package/node/productSwitcher/IdentityProductSwitcher/public.js +5 -0
  7. package/node/productSwitcher/IdentityProductSwitcher/styles.d.ts +11 -0
  8. package/node/productSwitcher/{components/IdentityProductSwitcher → IdentityProductSwitcher}/utils/getIdentityTenants/getIdentityTenants.d.ts +1 -1
  9. package/node/productSwitcher/{components/IdentityProductSwitcher → IdentityProductSwitcher}/utils/getTenantsProducts/getTenantsProducts.js +1 -1
  10. package/node/productSwitcher/index.d.ts +2 -1
  11. package/node/productSwitcher/index.js +4 -3
  12. package/package.json +9 -2
  13. package/productSwitcher/AstralProductSwitcher/public.d.ts +1 -0
  14. package/productSwitcher/AstralProductSwitcher/public.js +1 -0
  15. package/productSwitcher/{components/AstralProductSwitcher → AstralProductSwitcher}/utils/getFilteredProducts/getFilteredProducts.js +2 -2
  16. package/{node/productSwitcher/components → productSwitcher}/IdentityProductSwitcher/hooks/useLogic/useLogic.d.ts +1 -1
  17. package/productSwitcher/IdentityProductSwitcher/public.d.ts +1 -0
  18. package/productSwitcher/IdentityProductSwitcher/public.js +1 -0
  19. package/productSwitcher/IdentityProductSwitcher/styles.d.ts +11 -0
  20. package/productSwitcher/{components/IdentityProductSwitcher → IdentityProductSwitcher}/utils/getIdentityTenants/getIdentityTenants.d.ts +1 -1
  21. package/productSwitcher/{components/IdentityProductSwitcher → IdentityProductSwitcher}/utils/getTenantsProducts/getTenantsProducts.js +1 -1
  22. package/productSwitcher/index.d.ts +2 -1
  23. package/productSwitcher/index.js +2 -1
  24. package/node/productSwitcher/components/AstralProductSwitcher/public.d.ts +0 -2
  25. package/node/productSwitcher/components/AstralProductSwitcher/public.js +0 -18
  26. package/node/productSwitcher/components/IdentityProductSwitcher/public.d.ts +0 -1
  27. package/node/productSwitcher/components/IdentityProductSwitcher/public.js +0 -17
  28. package/node/productSwitcher/components/IdentityProductSwitcher/styles.d.ts +0 -26
  29. package/node/productSwitcher/components/index.d.ts +0 -2
  30. package/node/productSwitcher/components/index.js +0 -18
  31. package/productSwitcher/components/AstralProductSwitcher/public.d.ts +0 -2
  32. package/productSwitcher/components/AstralProductSwitcher/public.js +0 -2
  33. package/productSwitcher/components/IdentityProductSwitcher/public.d.ts +0 -1
  34. package/productSwitcher/components/IdentityProductSwitcher/public.js +0 -1
  35. package/productSwitcher/components/IdentityProductSwitcher/styles.d.ts +0 -26
  36. package/productSwitcher/components/index.d.ts +0 -2
  37. package/productSwitcher/components/index.js +0 -2
  38. /package/node/productSwitcher/{components/AstralProductSwitcher → AstralProductSwitcher}/AstralProductSwitcher.d.ts +0 -0
  39. /package/node/productSwitcher/{components/AstralProductSwitcher → AstralProductSwitcher}/AstralProductSwitcher.js +0 -0
  40. /package/node/productSwitcher/{components/AstralProductSwitcher → AstralProductSwitcher}/enums.d.ts +0 -0
  41. /package/node/productSwitcher/{components/AstralProductSwitcher → AstralProductSwitcher}/enums.js +0 -0
  42. /package/node/productSwitcher/{components/AstralProductSwitcher → AstralProductSwitcher}/index.d.ts +0 -0
  43. /package/node/productSwitcher/{components/AstralProductSwitcher → AstralProductSwitcher}/index.js +0 -0
  44. /package/node/productSwitcher/{components/AstralProductSwitcher → AstralProductSwitcher}/stories/BasicUsage.story.d.ts +0 -0
  45. /package/node/productSwitcher/{components/AstralProductSwitcher → AstralProductSwitcher}/stories/BasicUsage.story.js +0 -0
  46. /package/node/productSwitcher/{components/AstralProductSwitcher → AstralProductSwitcher}/stories/Group.story.d.ts +0 -0
  47. /package/node/productSwitcher/{components/AstralProductSwitcher → AstralProductSwitcher}/stories/Group.story.js +0 -0
  48. /package/node/productSwitcher/{components/AstralProductSwitcher → AstralProductSwitcher}/stories/Interaction.story.d.ts +0 -0
  49. /package/node/productSwitcher/{components/AstralProductSwitcher → AstralProductSwitcher}/stories/Interaction.story.js +0 -0
  50. /package/node/productSwitcher/{components/AstralProductSwitcher → AstralProductSwitcher}/stories/Tenant.story.d.ts +0 -0
  51. /package/node/productSwitcher/{components/AstralProductSwitcher → AstralProductSwitcher}/stories/Tenant.story.js +0 -0
  52. /package/node/productSwitcher/{components/AstralProductSwitcher → AstralProductSwitcher}/stories/common/index.d.ts +0 -0
  53. /package/node/productSwitcher/{components/AstralProductSwitcher → AstralProductSwitcher}/stories/common/index.js +0 -0
  54. /package/node/productSwitcher/{components/AstralProductSwitcher → AstralProductSwitcher}/stories/common/mockData.d.ts +0 -0
  55. /package/node/productSwitcher/{components/AstralProductSwitcher → AstralProductSwitcher}/stories/common/mockData.js +0 -0
  56. /package/node/productSwitcher/{components/AstralProductSwitcher → AstralProductSwitcher}/stories/common/mockResponses.d.ts +0 -0
  57. /package/node/productSwitcher/{components/AstralProductSwitcher → AstralProductSwitcher}/stories/common/mockResponses.js +0 -0
  58. /package/node/productSwitcher/{components/AstralProductSwitcher → AstralProductSwitcher}/utils/getFilteredProducts/getFilteredProducts.d.ts +0 -0
  59. /package/node/productSwitcher/{components/AstralProductSwitcher → AstralProductSwitcher}/utils/getFilteredProducts/index.d.ts +0 -0
  60. /package/node/productSwitcher/{components/AstralProductSwitcher → AstralProductSwitcher}/utils/getFilteredProducts/index.js +0 -0
  61. /package/node/productSwitcher/{components/AstralProductSwitcher → AstralProductSwitcher}/utils/index.d.ts +0 -0
  62. /package/node/productSwitcher/{components/AstralProductSwitcher → AstralProductSwitcher}/utils/index.js +0 -0
  63. /package/node/productSwitcher/{components/IdentityProductSwitcher → IdentityProductSwitcher}/IdentityProductSwitcher.d.ts +0 -0
  64. /package/node/productSwitcher/{components/IdentityProductSwitcher → IdentityProductSwitcher}/IdentityProductSwitcher.js +0 -0
  65. /package/node/productSwitcher/{components/IdentityProductSwitcher → IdentityProductSwitcher}/hooks/index.d.ts +0 -0
  66. /package/node/productSwitcher/{components/IdentityProductSwitcher → IdentityProductSwitcher}/hooks/index.js +0 -0
  67. /package/node/productSwitcher/{components/IdentityProductSwitcher → IdentityProductSwitcher}/hooks/useLogic/index.d.ts +0 -0
  68. /package/node/productSwitcher/{components/IdentityProductSwitcher → IdentityProductSwitcher}/hooks/useLogic/index.js +0 -0
  69. /package/node/productSwitcher/{components/IdentityProductSwitcher → IdentityProductSwitcher}/hooks/useLogic/useLogic.js +0 -0
  70. /package/node/productSwitcher/{components/IdentityProductSwitcher → IdentityProductSwitcher}/index.d.ts +0 -0
  71. /package/node/productSwitcher/{components/IdentityProductSwitcher → IdentityProductSwitcher}/index.js +0 -0
  72. /package/node/productSwitcher/{components/IdentityProductSwitcher → IdentityProductSwitcher}/stories/BasicUsage.story.d.ts +0 -0
  73. /package/node/productSwitcher/{components/IdentityProductSwitcher → IdentityProductSwitcher}/stories/BasicUsage.story.js +0 -0
  74. /package/node/productSwitcher/{components/IdentityProductSwitcher → IdentityProductSwitcher}/stories/Interaction.story.d.ts +0 -0
  75. /package/node/productSwitcher/{components/IdentityProductSwitcher → IdentityProductSwitcher}/stories/Interaction.story.js +0 -0
  76. /package/node/productSwitcher/{components/IdentityProductSwitcher → IdentityProductSwitcher}/stories/common/index.d.ts +0 -0
  77. /package/node/productSwitcher/{components/IdentityProductSwitcher → IdentityProductSwitcher}/stories/common/index.js +0 -0
  78. /package/node/productSwitcher/{components/IdentityProductSwitcher → IdentityProductSwitcher}/stories/common/mockData.d.ts +0 -0
  79. /package/node/productSwitcher/{components/IdentityProductSwitcher → IdentityProductSwitcher}/stories/common/mockData.js +0 -0
  80. /package/node/productSwitcher/{components/IdentityProductSwitcher → IdentityProductSwitcher}/stories/common/mockResponses.d.ts +0 -0
  81. /package/node/productSwitcher/{components/IdentityProductSwitcher → IdentityProductSwitcher}/stories/common/mockResponses.js +0 -0
  82. /package/node/productSwitcher/{components/IdentityProductSwitcher → IdentityProductSwitcher}/styles.js +0 -0
  83. /package/node/productSwitcher/{components/IdentityProductSwitcher → IdentityProductSwitcher}/utils/getIdentityTenants/getIdentityTenants.js +0 -0
  84. /package/node/productSwitcher/{components/IdentityProductSwitcher → IdentityProductSwitcher}/utils/getIdentityTenants/index.d.ts +0 -0
  85. /package/node/productSwitcher/{components/IdentityProductSwitcher → IdentityProductSwitcher}/utils/getIdentityTenants/index.js +0 -0
  86. /package/node/productSwitcher/{components/IdentityProductSwitcher → IdentityProductSwitcher}/utils/getTenantsProducts/getTenantsProducts.d.ts +0 -0
  87. /package/node/productSwitcher/{components/IdentityProductSwitcher → IdentityProductSwitcher}/utils/getTenantsProducts/index.d.ts +0 -0
  88. /package/node/productSwitcher/{components/IdentityProductSwitcher → IdentityProductSwitcher}/utils/getTenantsProducts/index.js +0 -0
  89. /package/node/productSwitcher/{components/IdentityProductSwitcher → IdentityProductSwitcher}/utils/index.d.ts +0 -0
  90. /package/node/productSwitcher/{components/IdentityProductSwitcher → IdentityProductSwitcher}/utils/index.js +0 -0
  91. /package/productSwitcher/{components/AstralProductSwitcher → AstralProductSwitcher}/AstralProductSwitcher.d.ts +0 -0
  92. /package/productSwitcher/{components/AstralProductSwitcher → AstralProductSwitcher}/AstralProductSwitcher.js +0 -0
  93. /package/productSwitcher/{components/AstralProductSwitcher → AstralProductSwitcher}/enums.d.ts +0 -0
  94. /package/productSwitcher/{components/AstralProductSwitcher → AstralProductSwitcher}/enums.js +0 -0
  95. /package/productSwitcher/{components/AstralProductSwitcher → AstralProductSwitcher}/index.d.ts +0 -0
  96. /package/productSwitcher/{components/AstralProductSwitcher → AstralProductSwitcher}/index.js +0 -0
  97. /package/productSwitcher/{components/AstralProductSwitcher → AstralProductSwitcher}/stories/BasicUsage.story.d.ts +0 -0
  98. /package/productSwitcher/{components/AstralProductSwitcher → AstralProductSwitcher}/stories/BasicUsage.story.js +0 -0
  99. /package/productSwitcher/{components/AstralProductSwitcher → AstralProductSwitcher}/stories/Group.story.d.ts +0 -0
  100. /package/productSwitcher/{components/AstralProductSwitcher → AstralProductSwitcher}/stories/Group.story.js +0 -0
  101. /package/productSwitcher/{components/AstralProductSwitcher → AstralProductSwitcher}/stories/Interaction.story.d.ts +0 -0
  102. /package/productSwitcher/{components/AstralProductSwitcher → AstralProductSwitcher}/stories/Interaction.story.js +0 -0
  103. /package/productSwitcher/{components/AstralProductSwitcher → AstralProductSwitcher}/stories/Tenant.story.d.ts +0 -0
  104. /package/productSwitcher/{components/AstralProductSwitcher → AstralProductSwitcher}/stories/Tenant.story.js +0 -0
  105. /package/productSwitcher/{components/AstralProductSwitcher → AstralProductSwitcher}/stories/common/index.d.ts +0 -0
  106. /package/productSwitcher/{components/AstralProductSwitcher → AstralProductSwitcher}/stories/common/index.js +0 -0
  107. /package/productSwitcher/{components/AstralProductSwitcher → AstralProductSwitcher}/stories/common/mockData.d.ts +0 -0
  108. /package/productSwitcher/{components/AstralProductSwitcher → AstralProductSwitcher}/stories/common/mockData.js +0 -0
  109. /package/productSwitcher/{components/AstralProductSwitcher → AstralProductSwitcher}/stories/common/mockResponses.d.ts +0 -0
  110. /package/productSwitcher/{components/AstralProductSwitcher → AstralProductSwitcher}/stories/common/mockResponses.js +0 -0
  111. /package/productSwitcher/{components/AstralProductSwitcher → AstralProductSwitcher}/utils/getFilteredProducts/getFilteredProducts.d.ts +0 -0
  112. /package/productSwitcher/{components/AstralProductSwitcher → AstralProductSwitcher}/utils/getFilteredProducts/index.d.ts +0 -0
  113. /package/productSwitcher/{components/AstralProductSwitcher → AstralProductSwitcher}/utils/getFilteredProducts/index.js +0 -0
  114. /package/productSwitcher/{components/AstralProductSwitcher → AstralProductSwitcher}/utils/index.d.ts +0 -0
  115. /package/productSwitcher/{components/AstralProductSwitcher → AstralProductSwitcher}/utils/index.js +0 -0
  116. /package/productSwitcher/{components/IdentityProductSwitcher → IdentityProductSwitcher}/IdentityProductSwitcher.d.ts +0 -0
  117. /package/productSwitcher/{components/IdentityProductSwitcher → IdentityProductSwitcher}/IdentityProductSwitcher.js +0 -0
  118. /package/productSwitcher/{components/IdentityProductSwitcher → IdentityProductSwitcher}/hooks/index.d.ts +0 -0
  119. /package/productSwitcher/{components/IdentityProductSwitcher → IdentityProductSwitcher}/hooks/index.js +0 -0
  120. /package/productSwitcher/{components/IdentityProductSwitcher → IdentityProductSwitcher}/hooks/useLogic/index.d.ts +0 -0
  121. /package/productSwitcher/{components/IdentityProductSwitcher → IdentityProductSwitcher}/hooks/useLogic/index.js +0 -0
  122. /package/productSwitcher/{components/IdentityProductSwitcher → IdentityProductSwitcher}/hooks/useLogic/useLogic.js +0 -0
  123. /package/productSwitcher/{components/IdentityProductSwitcher → IdentityProductSwitcher}/index.d.ts +0 -0
  124. /package/productSwitcher/{components/IdentityProductSwitcher → IdentityProductSwitcher}/index.js +0 -0
  125. /package/productSwitcher/{components/IdentityProductSwitcher → IdentityProductSwitcher}/stories/BasicUsage.story.d.ts +0 -0
  126. /package/productSwitcher/{components/IdentityProductSwitcher → IdentityProductSwitcher}/stories/BasicUsage.story.js +0 -0
  127. /package/productSwitcher/{components/IdentityProductSwitcher → IdentityProductSwitcher}/stories/Interaction.story.d.ts +0 -0
  128. /package/productSwitcher/{components/IdentityProductSwitcher → IdentityProductSwitcher}/stories/Interaction.story.js +0 -0
  129. /package/productSwitcher/{components/IdentityProductSwitcher → IdentityProductSwitcher}/stories/common/index.d.ts +0 -0
  130. /package/productSwitcher/{components/IdentityProductSwitcher → IdentityProductSwitcher}/stories/common/index.js +0 -0
  131. /package/productSwitcher/{components/IdentityProductSwitcher → IdentityProductSwitcher}/stories/common/mockData.d.ts +0 -0
  132. /package/productSwitcher/{components/IdentityProductSwitcher → IdentityProductSwitcher}/stories/common/mockData.js +0 -0
  133. /package/productSwitcher/{components/IdentityProductSwitcher → IdentityProductSwitcher}/stories/common/mockResponses.d.ts +0 -0
  134. /package/productSwitcher/{components/IdentityProductSwitcher → IdentityProductSwitcher}/stories/common/mockResponses.js +0 -0
  135. /package/productSwitcher/{components/IdentityProductSwitcher → IdentityProductSwitcher}/styles.js +0 -0
  136. /package/productSwitcher/{components/IdentityProductSwitcher → IdentityProductSwitcher}/utils/getIdentityTenants/getIdentityTenants.js +0 -0
  137. /package/productSwitcher/{components/IdentityProductSwitcher → IdentityProductSwitcher}/utils/getIdentityTenants/index.d.ts +0 -0
  138. /package/productSwitcher/{components/IdentityProductSwitcher → IdentityProductSwitcher}/utils/getIdentityTenants/index.js +0 -0
  139. /package/productSwitcher/{components/IdentityProductSwitcher → IdentityProductSwitcher}/utils/getTenantsProducts/getTenantsProducts.d.ts +0 -0
  140. /package/productSwitcher/{components/IdentityProductSwitcher → IdentityProductSwitcher}/utils/getTenantsProducts/index.d.ts +0 -0
  141. /package/productSwitcher/{components/IdentityProductSwitcher → IdentityProductSwitcher}/utils/getTenantsProducts/index.js +0 -0
  142. /package/productSwitcher/{components/IdentityProductSwitcher → IdentityProductSwitcher}/utils/index.d.ts +0 -0
  143. /package/productSwitcher/{components/IdentityProductSwitcher → IdentityProductSwitcher}/utils/index.js +0 -0
@@ -0,0 +1 @@
1
+ export { AstralProductSwitcher } from './AstralProductSwitcher';
@@ -0,0 +1,5 @@
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,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("../../../../utils");
5
- const getGroupsProducts_1 = require("../../../../utils/getGroupsProducts");
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 '../../../../types';
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 { IdentityProductSwitcher } from './IdentityProductSwitcher';
@@ -0,0 +1,5 @@
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; } });
@@ -0,0 +1,11 @@
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,4 +1,4 @@
1
- import { type IdentityTenantsDTO } from '../../../../types';
1
+ import { type IdentityTenantsDTO } from '../../../types';
2
2
  /**
3
3
  * Получение данных из identity
4
4
  * @param identityUrl - адрес identity
@@ -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("../../../../utils");
4
+ const utils_1 = require("../../../utils");
5
5
  /**
6
6
  * Получение всех продуктов из разных экосистем и группировка в единую мапу
7
7
  * @param identityUrl - ссылка на identity
@@ -1 +1,2 @@
1
- export { AstralProductSwitcher, IdentityProductSwitcher } from './components';
1
+ export { AstralProductSwitcher } from './AstralProductSwitcher';
2
+ export { IdentityProductSwitcher } from './IdentityProductSwitcher';
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.IdentityProductSwitcher = exports.AstralProductSwitcher = void 0;
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; } });
4
+ var AstralProductSwitcher_1 = require("./AstralProductSwitcher");
5
+ Object.defineProperty(exports, "AstralProductSwitcher", { enumerable: true, get: function () { return AstralProductSwitcher_1.AstralProductSwitcher; } });
6
+ var IdentityProductSwitcher_1 = require("./IdentityProductSwitcher");
7
+ Object.defineProperty(exports, "IdentityProductSwitcher", { enumerable: true, get: function () { return IdentityProductSwitcher_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.17.4",
4
+ "version": "4.17.6",
5
5
  "dependencies": {
6
- "@astral/ui": "4.17.4",
6
+ "@astral/ui": "4.17.6",
7
7
  "mobx": "^6.8.0",
8
8
  "mobx-react-lite": "^3.4.0",
9
9
  "@astral/cryptopro-cades": "^1.5.1"
@@ -20,6 +20,13 @@
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"
23
30
  }
24
31
  },
25
32
  "author": "Astral.Soft",
@@ -0,0 +1 @@
1
+ export { AstralProductSwitcher } from './AstralProductSwitcher';
@@ -0,0 +1 @@
1
+ export { AstralProductSwitcher } from './AstralProductSwitcher';
@@ -1,5 +1,5 @@
1
- import { getIdentityProducts } from '../../../../utils';
2
- import { getGroupsProducts } from '../../../../utils/getGroupsProducts';
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 '../../../../types';
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 { IdentityProductSwitcher } from './IdentityProductSwitcher';
@@ -0,0 +1 @@
1
+ export { IdentityProductSwitcher } from './IdentityProductSwitcher';
@@ -0,0 +1,11 @@
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,4 +1,4 @@
1
- import { type IdentityTenantsDTO } from '../../../../types';
1
+ import { type IdentityTenantsDTO } from '../../../types';
2
2
  /**
3
3
  * Получение данных из identity
4
4
  * @param identityUrl - адрес identity
@@ -1,4 +1,4 @@
1
- import { getIdentityProducts } from '../../../../utils';
1
+ import { getIdentityProducts } from '../../../utils';
2
2
  /**
3
3
  * Получение всех продуктов из разных экосистем и группировка в единую мапу
4
4
  * @param identityUrl - ссылка на identity
@@ -1 +1,2 @@
1
- export { AstralProductSwitcher, IdentityProductSwitcher } from './components';
1
+ export { AstralProductSwitcher } from './AstralProductSwitcher';
2
+ export { IdentityProductSwitcher } from './IdentityProductSwitcher';
@@ -1 +1,2 @@
1
- export { AstralProductSwitcher, IdentityProductSwitcher } from './components';
1
+ export { AstralProductSwitcher } from './AstralProductSwitcher';
2
+ export { IdentityProductSwitcher } from './IdentityProductSwitcher';
@@ -1,2 +0,0 @@
1
- export * from './AstralProductSwitcher';
2
- export * from './enums';
@@ -1,18 +0,0 @@
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 +0,0 @@
1
- export * from './IdentityProductSwitcher';
@@ -1,17 +0,0 @@
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);
@@ -1,26 +0,0 @@
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 +0,0 @@
1
- export * from './AstralProductSwitcher';
2
- export * from './IdentityProductSwitcher';
@@ -1,18 +0,0 @@
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 +0,0 @@
1
- export * from './AstralProductSwitcher';
2
- export * from './enums';
@@ -1,2 +0,0 @@
1
- export * from './AstralProductSwitcher';
2
- export * from './enums';
@@ -1 +0,0 @@
1
- export * from './IdentityProductSwitcher';
@@ -1 +0,0 @@
1
- export * from './IdentityProductSwitcher';
@@ -1,26 +0,0 @@
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 +0,0 @@
1
- export * from './AstralProductSwitcher';
2
- export * from './IdentityProductSwitcher';
@@ -1,2 +0,0 @@
1
- export * from './AstralProductSwitcher';
2
- export * from './IdentityProductSwitcher';