@pimcore/data-hub 2.4.0-canary.20260216-171900-f9bde666
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/README.md +11 -0
- package/dist/.gitkeep +0 -0
- package/dist/build/types/components/some-shared-stateful-component.d.ts +2 -0
- package/dist/build/types/config/service-ids.d.ts +32 -0
- package/dist/build/types/main.d.ts +9 -0
- package/dist/build/types/modules/config/components/config-sidebar/components/config-sidebar-toolbar/toolbar.d.ts +23 -0
- package/dist/build/types/modules/config/components/config-sidebar/config-sidebar.d.ts +16 -0
- package/dist/build/types/modules/config/components/export-button/export-button.d.ts +17 -0
- package/dist/build/types/modules/config/components/export-button/index.d.ts +10 -0
- package/dist/build/types/modules/config/components/field-width-container.d.ts +15 -0
- package/dist/build/types/modules/config/components/import-button/import-button.d.ts +22 -0
- package/dist/build/types/modules/config/components/tabs/config-tab-content.d.ts +20 -0
- package/dist/build/types/modules/config/components/tabs/config-tabs.d.ts +24 -0
- package/dist/build/types/modules/config/components/tabs/config-tabs.styles.d.ts +13 -0
- package/dist/build/types/modules/config/config-api-slice-enhanced.d.ts +1373 -0
- package/dist/build/types/modules/config/config-api-slice.gen.d.ts +1491 -0
- package/dist/build/types/modules/config/config-container.d.ts +11 -0
- package/dist/build/types/modules/config/dynamic-types/adapters/dynamic-type-data-hub-adapter-graphql.d.ts +17 -0
- package/dist/build/types/modules/config/dynamic-types/dynamic-type-data-hub-adapter-abstract.d.ts +25 -0
- package/dist/build/types/modules/config/dynamic-types/dynamic-type-data-hub-adapter-registry.d.ts +13 -0
- package/dist/build/types/modules/config/dynamic-types/index.d.ts +12 -0
- package/dist/build/types/modules/config/hooks/use-data-hub-config.d.ts +22 -0
- package/dist/build/types/modules/config/hooks/use-tab-manager.d.ts +19 -0
- package/dist/build/types/modules/config/index.d.ts +11 -0
- package/dist/build/types/modules/config/providers/config-provider.d.ts +28 -0
- package/dist/build/types/modules/config/users-api-slice.gen.d.ts +221 -0
- package/dist/build/types/modules/config/utils/adapter-helpers.d.ts +11 -0
- package/dist/build/types/modules/config/utils/get-export-url.d.ts +10 -0
- package/dist/build/types/modules/config/utils/tree-helpers.d.ts +13 -0
- package/dist/build/types/modules/graphql/components/backend-types.d.ts +72 -0
- package/dist/build/types/modules/graphql/components/graphql-adapter-form.d.ts +12 -0
- package/dist/build/types/modules/graphql/components/inline-dropdown-panel/inline-dropdown-panel.d.ts +15 -0
- package/dist/build/types/modules/graphql/components/inline-dropdown-panel/inline-dropdown-panel.styles.d.ts +12 -0
- package/dist/build/types/modules/graphql/components/tabs/general-tab.d.ts +11 -0
- package/dist/build/types/modules/graphql/components/tabs/permissions-tab/permission-accordion.d.ts +18 -0
- package/dist/build/types/modules/graphql/components/tabs/permissions-tab/permission-grid.d.ts +18 -0
- package/dist/build/types/modules/graphql/components/tabs/permissions-tab/types.d.ts +24 -0
- package/dist/build/types/modules/graphql/components/tabs/permissions-tab.d.ts +11 -0
- package/dist/build/types/modules/graphql/components/tabs/schema-definition-tab/generic-types-grid.d.ts +17 -0
- package/dist/build/types/modules/graphql/components/tabs/schema-definition-tab/mutation-grid.d.ts +17 -0
- package/dist/build/types/modules/graphql/components/tabs/schema-definition-tab/query-grid.d.ts +17 -0
- package/dist/build/types/modules/graphql/components/tabs/schema-definition-tab/schema-accordion.d.ts +18 -0
- package/dist/build/types/modules/graphql/components/tabs/schema-definition-tab/schema-fields-modal/available-fields-tree/available-fields-tree.d.ts +18 -0
- package/dist/build/types/modules/graphql/components/tabs/schema-definition-tab/schema-fields-modal/available-fields-tree/available-fields-tree.styles.d.ts +12 -0
- package/dist/build/types/modules/graphql/components/tabs/schema-definition-tab/schema-fields-modal/available-fields-tree/empty-tree-drop-zone.d.ts +11 -0
- package/dist/build/types/modules/graphql/components/tabs/schema-definition-tab/schema-fields-modal/available-fields-tree/empty-tree-drop-zone.styles.d.ts +12 -0
- package/dist/build/types/modules/graphql/components/tabs/schema-definition-tab/schema-fields-modal/available-fields-tree/hooks/use-drop-validation.d.ts +23 -0
- package/dist/build/types/modules/graphql/components/tabs/schema-definition-tab/schema-fields-modal/available-fields-tree/hooks/use-tree-context.d.ts +41 -0
- package/dist/build/types/modules/graphql/components/tabs/schema-definition-tab/schema-fields-modal/available-fields-tree/hooks/use-tree-nodes.d.ts +33 -0
- package/dist/build/types/modules/graphql/components/tabs/schema-definition-tab/schema-fields-modal/available-fields-tree/hooks/use-tree-state.d.ts +33 -0
- package/dist/build/types/modules/graphql/components/tabs/schema-definition-tab/schema-fields-modal/available-fields-tree/index.d.ts +10 -0
- package/dist/build/types/modules/graphql/components/tabs/schema-definition-tab/schema-fields-modal/available-fields-tree/source-config-utils.d.ts +26 -0
- package/dist/build/types/modules/graphql/components/tabs/schema-definition-tab/schema-fields-modal/available-fields-tree/tree-item/tree-item.d.ts +56 -0
- package/dist/build/types/modules/graphql/components/tabs/schema-definition-tab/schema-fields-modal/available-fields-tree/tree-node-renderer.d.ts +17 -0
- package/dist/build/types/modules/graphql/components/tabs/schema-definition-tab/schema-fields-modal/available-fields-tree/utils/tree-conversion-utils.d.ts +15 -0
- package/dist/build/types/modules/graphql/components/tabs/schema-definition-tab/schema-fields-modal/available-fields-tree/utils/tree-operations.d.ts +24 -0
- package/dist/build/types/modules/graphql/components/tabs/schema-definition-tab/schema-fields-modal/available-fields-tree/utils/tree-validation-utils.d.ts +14 -0
- package/dist/build/types/modules/graphql/components/tabs/schema-definition-tab/schema-fields-modal/components/add-all-definitions-button.d.ts +19 -0
- package/dist/build/types/modules/graphql/components/tabs/schema-definition-tab/schema-fields-modal/components/class-attributes-sidebar.d.ts +16 -0
- package/dist/build/types/modules/graphql/components/tabs/schema-definition-tab/schema-fields-modal/components/class-attributes-sidebar.styles.d.ts +12 -0
- package/dist/build/types/modules/graphql/components/tabs/schema-definition-tab/schema-fields-modal/components/draggable-tree-title.d.ts +21 -0
- package/dist/build/types/modules/graphql/components/tabs/schema-definition-tab/schema-fields-modal/components/operator-grid-item.d.ts +21 -0
- package/dist/build/types/modules/graphql/components/tabs/schema-definition-tab/schema-fields-modal/components/operators-sidebar.d.ts +18 -0
- package/dist/build/types/modules/graphql/components/tabs/schema-definition-tab/schema-fields-modal/definitions/system-column-definitions.d.ts +19 -0
- package/dist/build/types/modules/graphql/components/tabs/schema-definition-tab/schema-fields-modal/drag-types.d.ts +30 -0
- package/dist/build/types/modules/graphql/components/tabs/schema-definition-tab/schema-fields-modal/hooks/use-class-attributes-tree.d.ts +24 -0
- package/dist/build/types/modules/graphql/components/tabs/schema-definition-tab/schema-fields-modal/hooks/use-sidebar-entries.d.ts +24 -0
- package/dist/build/types/modules/graphql/components/tabs/schema-definition-tab/schema-fields-modal/schema-fields-modal.d.ts +20 -0
- package/dist/build/types/modules/graphql/components/tabs/schema-definition-tab/schema-fields-modal/schema-fields-modal.styles.d.ts +13 -0
- package/dist/build/types/modules/graphql/components/tabs/schema-definition-tab/schema-fields-modal/types.d.ts +54 -0
- package/dist/build/types/modules/graphql/components/tabs/schema-definition-tab/types.d.ts +34 -0
- package/dist/build/types/modules/graphql/components/tabs/schema-definition-tab.d.ts +11 -0
- package/dist/build/types/modules/graphql/components/tabs/security-definition-tab/types.d.ts +17 -0
- package/dist/build/types/modules/graphql/components/tabs/security-definition-tab/workspace-accordion.d.ts +18 -0
- package/dist/build/types/modules/graphql/components/tabs/security-definition-tab/workspace-grid.d.ts +18 -0
- package/dist/build/types/modules/graphql/components/tabs/security-definition-tab.d.ts +11 -0
- package/dist/build/types/modules/graphql/components/types.d.ts +39 -0
- package/dist/build/types/modules/graphql/graphql-api-slice-enhanced.d.ts +750 -0
- package/dist/build/types/modules/graphql/graphql-api-slice.gen.d.ts +400 -0
- package/dist/build/types/modules/graphql/index.d.ts +11 -0
- package/dist/build/types/modules/graphql/utils/transformers.d.ts +29 -0
- package/dist/build/types/modules/operators/components/operator-modal.d.ts +26 -0
- package/dist/build/types/modules/operators/components/thumbnail-select.d.ts +15 -0
- package/dist/build/types/modules/operators/dynamic-type-operator-abstract.d.ts +40 -0
- package/dist/build/types/modules/operators/dynamic-type-operator-registry.d.ts +21 -0
- package/dist/build/types/modules/operators/hooks/use-operator-groups.d.ts +16 -0
- package/dist/build/types/modules/operators/hooks/use-operator-modal.d.ts +17 -0
- package/dist/build/types/modules/operators/hooks/use-operator.d.ts +22 -0
- package/dist/build/types/modules/operators/operators/alias/alias-config-modal.d.ts +13 -0
- package/dist/build/types/modules/operators/operators/alias/dynamic-type-operator-alias.d.ts +23 -0
- package/dist/build/types/modules/operators/operators/concatenator/concatenator-config-modal.d.ts +13 -0
- package/dist/build/types/modules/operators/operators/concatenator/dynamic-type-operator-concatenator.d.ts +25 -0
- package/dist/build/types/modules/operators/operators/date-formatter/date-formatter-config-modal.d.ts +13 -0
- package/dist/build/types/modules/operators/operators/date-formatter/dynamic-type-operator-date-formatter.d.ts +25 -0
- package/dist/build/types/modules/operators/operators/element-counter/dynamic-type-operator-element-counter.d.ts +25 -0
- package/dist/build/types/modules/operators/operators/element-counter/element-counter-config-modal.d.ts +13 -0
- package/dist/build/types/modules/operators/operators/if-empty/dynamic-type-operator-if-empty.d.ts +23 -0
- package/dist/build/types/modules/operators/operators/if-empty/if-empty-config-modal.d.ts +13 -0
- package/dist/build/types/modules/operators/operators/index.d.ts +22 -0
- package/dist/build/types/modules/operators/operators/locale-collector/dynamic-type-operator-locale-collector.d.ts +24 -0
- package/dist/build/types/modules/operators/operators/locale-collector/locale-collector-config-modal.d.ts +13 -0
- package/dist/build/types/modules/operators/operators/locale-switcher/dynamic-type-operator-locale-switcher.d.ts +23 -0
- package/dist/build/types/modules/operators/operators/locale-switcher/locale-switcher-config-modal.d.ts +13 -0
- package/dist/build/types/modules/operators/operators/substring/dynamic-type-operator-substring.d.ts +27 -0
- package/dist/build/types/modules/operators/operators/substring/substring-config-modal.d.ts +13 -0
- package/dist/build/types/modules/operators/operators/text/dynamic-type-operator-text.d.ts +25 -0
- package/dist/build/types/modules/operators/operators/text/text-config-modal.d.ts +13 -0
- package/dist/build/types/modules/operators/operators/thumbnail/dynamic-type-operator-thumbnail.d.ts +25 -0
- package/dist/build/types/modules/operators/operators/thumbnail/thumbnail-config-modal.d.ts +13 -0
- package/dist/build/types/modules/operators/operators/thumbnail-html/dynamic-type-operator-thumbnail-html.d.ts +25 -0
- package/dist/build/types/modules/operators/operators/thumbnail-html/thumbnail-html-config-modal.d.ts +13 -0
- package/dist/build/types/modules/operators/operators/translate-value/dynamic-type-operator-translate-value.d.ts +25 -0
- package/dist/build/types/modules/operators/operators/translate-value/translate-value-config-modal.d.ts +13 -0
- package/dist/build/types/modules/operators/operators/trimmer/dynamic-type-operator-trimmer.d.ts +25 -0
- package/dist/build/types/modules/operators/operators/trimmer/trimmer-config-modal.d.ts +13 -0
- package/dist/build/types/modules/operators/thumbnails-api-slice.gen.d.ts +216 -0
- package/dist/build/types/plugins.d.ts +11 -0
- package/dist/build/types/sdk/index.d.ts +2 -0
- package/package.json +92 -0
package/README.md
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Data Hub
|
|
2
|
+
|
|
3
|
+
This package provides TypeScript support for Pimcore Data Hub, enabling type-safe integration and development when working with Data Hub functionalities within the Pimcore ecosystem.
|
|
4
|
+
|
|
5
|
+
It includes:
|
|
6
|
+
|
|
7
|
+
- Comprehensive TypeScript definitions for the Data Hub SDK, ensuring strong typing and improved developer experience
|
|
8
|
+
|
|
9
|
+
## Documentation
|
|
10
|
+
|
|
11
|
+
For detailed guidance on installation, configuration, and working with Data Hub, refer to the official [Pimcore Data Hub documentation](https://docs.pimcore.com/platform/Datahub/).
|
package/dist/.gitkeep
ADDED
|
File without changes
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* Service IDs for the Data Hub Bundle
|
|
12
|
+
* Centralized location for all dependency injection service identifiers
|
|
13
|
+
*/
|
|
14
|
+
export declare const bundleServiceIds: {
|
|
15
|
+
readonly 'DataHub/DynamicTypes/Adapter/Registry': "DataHub/DynamicTypes/Adapter/Registry";
|
|
16
|
+
readonly 'DataHub/DynamicTypes/Adapter/GraphQL': "DataHub/DynamicTypes/Adapter/GraphQL";
|
|
17
|
+
readonly 'DataHub/DynamicTypes/Operator/GraphQL/QueryRegistry': "DataHub/DynamicTypes/Operator/GraphQL/QueryRegistry";
|
|
18
|
+
readonly 'DataHub/DynamicTypes/Operator/GraphQL/MutationRegistry': "DataHub/DynamicTypes/Operator/GraphQL/MutationRegistry";
|
|
19
|
+
readonly 'DataHub/DynamicTypes/Operator/Alias': "DataHub/DynamicTypes/Operator/Alias";
|
|
20
|
+
readonly 'DataHub/DynamicTypes/Operator/Concatenator': "DataHub/DynamicTypes/Operator/Concatenator";
|
|
21
|
+
readonly 'DataHub/DynamicTypes/Operator/DateFormatter': "DataHub/DynamicTypes/Operator/DateFormatter";
|
|
22
|
+
readonly 'DataHub/DynamicTypes/Operator/ElementCounter': "DataHub/DynamicTypes/Operator/ElementCounter";
|
|
23
|
+
readonly 'DataHub/DynamicTypes/Operator/Substring': "DataHub/DynamicTypes/Operator/Substring";
|
|
24
|
+
readonly 'DataHub/DynamicTypes/Operator/Text': "DataHub/DynamicTypes/Operator/Text";
|
|
25
|
+
readonly 'DataHub/DynamicTypes/Operator/Thumbnail': "DataHub/DynamicTypes/Operator/Thumbnail";
|
|
26
|
+
readonly 'DataHub/DynamicTypes/Operator/ThumbnailHtml': "DataHub/DynamicTypes/Operator/ThumbnailHtml";
|
|
27
|
+
readonly 'DataHub/DynamicTypes/Operator/TranslateValue': "DataHub/DynamicTypes/Operator/TranslateValue";
|
|
28
|
+
readonly 'DataHub/DynamicTypes/Operator/Trimmer': "DataHub/DynamicTypes/Operator/Trimmer";
|
|
29
|
+
readonly 'DataHub/DynamicTypes/Operator/IfEmpty': "DataHub/DynamicTypes/Operator/IfEmpty";
|
|
30
|
+
readonly 'DataHub/DynamicTypes/Operator/LocaleCollector': "DataHub/DynamicTypes/Operator/LocaleCollector";
|
|
31
|
+
readonly 'DataHub/DynamicTypes/Operator/LocaleSwitcher': "DataHub/DynamicTypes/Operator/LocaleSwitcher";
|
|
32
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
import React from 'react';
|
|
11
|
+
import { type BundleDataHubConfiguration } from '../../../../config-api-slice.gen';
|
|
12
|
+
interface ConfigSidebarToolbarProps {
|
|
13
|
+
onAdd: (adapterType: string) => void;
|
|
14
|
+
onRefresh: () => Promise<{
|
|
15
|
+
data?: {
|
|
16
|
+
items?: BundleDataHubConfiguration[];
|
|
17
|
+
};
|
|
18
|
+
}>;
|
|
19
|
+
handleOpenConfig: (config: BundleDataHubConfiguration) => void;
|
|
20
|
+
isFetching: boolean;
|
|
21
|
+
}
|
|
22
|
+
export declare const ConfigSidebarToolbar: ({ onAdd, onRefresh, handleOpenConfig, isFetching }: ConfigSidebarToolbarProps) => React.JSX.Element;
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
import React from 'react';
|
|
11
|
+
import { type BundleDataHubConfiguration } from '../../config-api-slice-enhanced';
|
|
12
|
+
interface ConfigSidebarProps {
|
|
13
|
+
handleOpenConfig: (config: BundleDataHubConfiguration) => void;
|
|
14
|
+
}
|
|
15
|
+
export declare const ConfigSidebar: ({ handleOpenConfig }: ConfigSidebarProps) => React.JSX.Element;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
import React from 'react';
|
|
11
|
+
interface ExportButtonProps {
|
|
12
|
+
configName: string;
|
|
13
|
+
variant?: 'toolbar' | 'context-menu';
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
}
|
|
16
|
+
export declare const ExportButton: ({ configName, variant, disabled }: ExportButtonProps) => React.JSX.Element;
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
export { ExportButton } from './export-button';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
import React, { type ReactNode } from 'react';
|
|
11
|
+
interface FieldWidthContainerProps {
|
|
12
|
+
children: ReactNode;
|
|
13
|
+
}
|
|
14
|
+
export declare const FieldWidthContainer: ({ children }: FieldWidthContainerProps) => React.JSX.Element;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
import React from 'react';
|
|
11
|
+
import { type BundleDataHubConfiguration } from '../../config-api-slice.gen';
|
|
12
|
+
interface ImportButtonProps {
|
|
13
|
+
onRefresh: () => Promise<{
|
|
14
|
+
data?: {
|
|
15
|
+
items?: BundleDataHubConfiguration[];
|
|
16
|
+
};
|
|
17
|
+
}>;
|
|
18
|
+
handleOpenConfig: (config: BundleDataHubConfiguration) => void;
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
}
|
|
21
|
+
export declare const ImportButton: ({ onRefresh, handleOpenConfig, disabled }: ImportButtonProps) => React.JSX.Element;
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
import React from 'react';
|
|
11
|
+
import { type BundleDataHubConfiguration } from '../../config-api-slice-enhanced';
|
|
12
|
+
interface ConfigTabContentProps {
|
|
13
|
+
config: BundleDataHubConfiguration;
|
|
14
|
+
onRefetchReady: (configId: string, refetchFn: () => Promise<any>) => void;
|
|
15
|
+
modifiedConfigs: string[];
|
|
16
|
+
setModifiedConfigs: React.Dispatch<React.SetStateAction<string[]>>;
|
|
17
|
+
isActive: boolean;
|
|
18
|
+
}
|
|
19
|
+
export declare const ConfigTabContent: ({ config, onRefetchReady, modifiedConfigs, setModifiedConfigs, isActive }: ConfigTabContentProps) => React.JSX.Element;
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
import React from 'react';
|
|
11
|
+
import { type BundleDataHubConfiguration } from '../../config-api-slice-enhanced';
|
|
12
|
+
interface ConfigTabsProps {
|
|
13
|
+
openedConfigs: BundleDataHubConfiguration[];
|
|
14
|
+
activeTabKey: string | undefined;
|
|
15
|
+
configurationsData?: {
|
|
16
|
+
items: BundleDataHubConfiguration[];
|
|
17
|
+
};
|
|
18
|
+
onChangeTab: (key: string) => void;
|
|
19
|
+
onCloseTab: (key: string) => void;
|
|
20
|
+
modifiedConfigs: string[];
|
|
21
|
+
setModifiedConfigs: React.Dispatch<React.SetStateAction<string[]>>;
|
|
22
|
+
}
|
|
23
|
+
export declare const ConfigTabs: ({ openedConfigs, activeTabKey, configurationsData, onChangeTab, onCloseTab, modifiedConfigs, setModifiedConfigs }: ConfigTabsProps) => React.JSX.Element;
|
|
24
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
export declare const useStyles: (props?: unknown) => import("antd-style").ReturnStyles<{
|
|
11
|
+
tabsContainer: import("antd-style").SerializedStyles;
|
|
12
|
+
tabs: import("antd-style").SerializedStyles;
|
|
13
|
+
}>;
|