@digital-ai/dot-components 3.7.0 → 3.8.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/index.esm.js +2675 -590
- package/package.json +1 -1
- package/src/lib/components/analytics/dashboard-actions/DashboardActions.d.ts +19 -0
- package/src/lib/components/analytics/dashboard-actions/DashboardActions.styles.d.ts +2 -0
- package/src/lib/components/analytics/dashboard-actions/DashboardOptionsMenu.d.ts +10 -0
- package/src/lib/components/analytics/dashboard-actions/DashboardOptionsMenu.styles.d.ts +1 -0
- package/src/lib/components/analytics/dashboard-actions/DashboardPublishConfirm.d.ts +18 -0
- package/src/lib/components/analytics/dashboard-actions/DashboardPublishConfirm.styles.d.ts +6 -0
- package/src/lib/components/analytics/dashboard-dialog/DashboardDialog.d.ts +30 -0
- package/src/lib/components/analytics/dashboard-dialog/DashboardDialog.styles.d.ts +3 -0
- package/src/lib/components/analytics/dashboard-header/DashboardHeader.d.ts +6 -0
- package/src/lib/components/analytics/dashboard-header/DashboardHeader.styles.d.ts +1 -0
- package/src/lib/components/analytics/metadata-api/MetadataApiProvider.d.ts +45 -0
- package/src/lib/components/analytics/metadata-api/openapi/core/ApiError.d.ts +8 -0
- package/src/lib/components/analytics/metadata-api/openapi/core/ApiRequestOptions.d.ts +12 -0
- package/src/lib/components/analytics/metadata-api/openapi/core/ApiResult.d.ts +7 -0
- package/src/lib/components/analytics/metadata-api/openapi/core/OpenAPI.d.ts +15 -0
- package/src/lib/components/analytics/metadata-api/openapi/core/request.d.ts +9 -0
- package/src/lib/components/analytics/metadata-api/openapi/index.d.ts +48 -0
- package/src/lib/components/analytics/metadata-api/openapi/models/AllCategoriesResponse.d.ts +3 -0
- package/src/lib/components/analytics/metadata-api/openapi/models/Author.d.ts +4 -0
- package/src/lib/components/analytics/metadata-api/openapi/models/BiServerResponse.d.ts +3 -0
- package/src/lib/components/analytics/metadata-api/openapi/models/CategoriesResponse.d.ts +3 -0
- package/src/lib/components/analytics/metadata-api/openapi/models/DashboardCopyBody.d.ts +18 -0
- package/src/lib/components/analytics/metadata-api/openapi/models/DashboardCreateBody.d.ts +74 -0
- package/src/lib/components/analytics/metadata-api/openapi/models/DashboardPatchBody.d.ts +74 -0
- package/src/lib/components/analytics/metadata-api/openapi/models/DashboardPutBody.d.ts +74 -0
- package/src/lib/components/analytics/metadata-api/openapi/models/DashboardView.d.ts +106 -0
- package/src/lib/components/analytics/metadata-api/openapi/models/DashboardViewPagedResponse.d.ts +6 -0
- package/src/lib/components/analytics/metadata-api/openapi/models/Entity.d.ts +7 -0
- package/src/lib/components/analytics/metadata-api/openapi/models/EntityAttribute.d.ts +11 -0
- package/src/lib/components/analytics/metadata-api/openapi/models/EntityAttributePagedResponse.d.ts +6 -0
- package/src/lib/components/analytics/metadata-api/openapi/models/EntityAttributeRequest.d.ts +4 -0
- package/src/lib/components/analytics/metadata-api/openapi/models/EntityClass.d.ts +7 -0
- package/src/lib/components/analytics/metadata-api/openapi/models/EntityClassPagedResponse.d.ts +6 -0
- package/src/lib/components/analytics/metadata-api/openapi/models/EntityPagedResponse.d.ts +6 -0
- package/src/lib/components/analytics/metadata-api/openapi/models/Error.d.ts +18 -0
- package/src/lib/components/analytics/metadata-api/openapi/models/GuestTokenRequest.d.ts +14 -0
- package/src/lib/components/analytics/metadata-api/openapi/models/HealthCheckResponse.d.ts +9 -0
- package/src/lib/components/analytics/metadata-api/openapi/models/HelpContent.d.ts +5 -0
- package/src/lib/components/analytics/metadata-api/openapi/models/HelpContentCreateBody.d.ts +3 -0
- package/src/lib/components/analytics/metadata-api/openapi/models/HelpContentPagedResponse.d.ts +6 -0
- package/src/lib/components/analytics/metadata-api/openapi/models/HelpContentPutBody.d.ts +3 -0
- package/src/lib/components/analytics/metadata-api/openapi/models/MSTRLoginTokenResponse.d.ts +3 -0
- package/src/lib/components/analytics/metadata-api/openapi/models/MSTRServerResponse.d.ts +5 -0
- package/src/lib/components/analytics/metadata-api/openapi/models/MetadataResponse.d.ts +5 -0
- package/src/lib/components/analytics/metadata-api/openapi/models/Origin.d.ts +7 -0
- package/src/lib/components/analytics/metadata-api/openapi/models/OriginInstance.d.ts +7 -0
- package/src/lib/components/analytics/metadata-api/openapi/models/OriginInstancePagedResponse.d.ts +6 -0
- package/src/lib/components/analytics/metadata-api/openapi/models/OriginPagedResponse.d.ts +6 -0
- package/src/lib/components/analytics/metadata-api/openapi/models/PaginationHeaders.d.ts +7 -0
- package/src/lib/components/analytics/metadata-api/openapi/models/PaginationMetadata.d.ts +9 -0
- package/src/lib/components/analytics/metadata-api/openapi/models/SSLoginTokenResponse.d.ts +4 -0
- package/src/lib/components/analytics/metadata-api/openapi/models/TenantInfo.d.ts +5 -0
- package/src/lib/components/analytics/metadata-api/openapi/models/VersionResponse.d.ts +3 -0
- package/src/lib/components/analytics/metadata-api/openapi/services/BiService.d.ts +59 -0
- package/src/lib/components/analytics/metadata-api/openapi/services/CategoriesService.d.ts +22 -0
- package/src/lib/components/analytics/metadata-api/openapi/services/DashboardsService.d.ts +125 -0
- package/src/lib/components/analytics/metadata-api/openapi/services/EntitiesService.d.ts +57 -0
- package/src/lib/components/analytics/metadata-api/openapi/services/EntityAttributesService.d.ts +69 -0
- package/src/lib/components/analytics/metadata-api/openapi/services/EntityClassService.d.ts +56 -0
- package/src/lib/components/analytics/metadata-api/openapi/services/HelpContentService.d.ts +51 -0
- package/src/lib/components/analytics/metadata-api/openapi/services/OriginInstancesService.d.ts +56 -0
- package/src/lib/components/analytics/metadata-api/openapi/services/OriginsService.d.ts +56 -0
- package/src/lib/components/analytics/metadata-api/openapi/services/UtilityService.d.ts +46 -0
- package/src/lib/components/board/board/Board.context.d.ts +5 -0
- package/src/lib/components/board/board/Board.d.ts +8 -0
- package/src/lib/components/board/board/Board.styles.d.ts +8 -0
- package/src/lib/components/board/board/index.d.ts +2 -0
- package/src/lib/components/board/column/Column.context.d.ts +5 -0
- package/src/lib/components/board/column/Column.d.ts +7 -0
- package/src/lib/components/board/column/Column.styles.d.ts +7 -0
- package/src/lib/components/board/column/index.d.ts +2 -0
- package/src/lib/components/board/column-actionbar/ColumnActionBar.d.ts +2 -0
- package/src/lib/components/board/column-actionbar/ColumnActionBar.styles.d.ts +6 -0
- package/src/lib/components/board/column-actionbar/index.d.ts +1 -0
- package/src/lib/components/board/column-collapse/ColumnCollapse.d.ts +6 -0
- package/src/lib/components/board/column-collapse/index.d.ts +1 -0
- package/src/lib/components/board/column-expand/ColumnExpand.d.ts +6 -0
- package/src/lib/components/board/column-expand/index.d.ts +1 -0
- package/src/lib/components/board/column-header/ColumnHeader.d.ts +5 -0
- package/src/lib/components/board/column-header/ColumnHeader.styles.d.ts +8 -0
- package/src/lib/components/board/column-header/index.d.ts +1 -0
- package/src/lib/components/board/column-items/ColumnItems.d.ts +5 -0
- package/src/lib/components/board/column-items/ColumnItems.styles.d.ts +6 -0
- package/src/lib/components/board/column-items/index.d.ts +1 -0
- package/src/lib/components/board/column-summary/ColumnSummary.d.ts +5 -0
- package/src/lib/components/board/column-summary/ColumnSummary.styles.d.ts +8 -0
- package/src/lib/components/board/column-summary/index.d.ts +1 -0
- package/src/lib/components/board/index.d.ts +9 -0
- package/src/lib/components/board/interfaces.d.ts +43 -0
- package/src/lib/components/core-api/openapi/models/ApplicationModel.d.ts +1 -1
- package/src/lib/components/index.d.ts +8 -1
- package/src/lib/components/snackbar/SnackbarProvider.d.ts +2 -0
- package/src/lib/components/snackbar/index.d.ts +1 -1
- package/src/lib/components/snackbar/utils/helpers.d.ts +9 -0
- package/src/lib/utils/index.d.ts +10 -0
- /package/src/lib/{components/core-api → utils/cancelable-promise}/CancelablePromise.d.ts +0 -0
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import type { Error } from '../models/Error';
|
|
2
|
+
import type { HelpContent } from '../models/HelpContent';
|
|
3
|
+
import type { HelpContentCreateBody } from '../models/HelpContentCreateBody';
|
|
4
|
+
import type { HelpContentPagedResponse } from '../models/HelpContentPagedResponse';
|
|
5
|
+
import type { HelpContentPutBody } from '../models/HelpContentPutBody';
|
|
6
|
+
export declare class HelpContentService {
|
|
7
|
+
/**
|
|
8
|
+
* Gets help content definitions.
|
|
9
|
+
* Return help content definitions.
|
|
10
|
+
* @returns HelpContentPagedResponse OK
|
|
11
|
+
* @returns Error Default error response
|
|
12
|
+
* @throws ApiError
|
|
13
|
+
*/
|
|
14
|
+
static getHelpContent(): Promise<HelpContentPagedResponse | Error>;
|
|
15
|
+
/**
|
|
16
|
+
* Upload an HTML file to be displayed as help content.
|
|
17
|
+
* Upload help content.
|
|
18
|
+
* @param requestBody
|
|
19
|
+
* @returns HelpContent Content uploaded.
|
|
20
|
+
* @returns Error Default error response
|
|
21
|
+
* @throws ApiError
|
|
22
|
+
*/
|
|
23
|
+
static createHelpContent(requestBody: HelpContentCreateBody): Promise<HelpContent | Error>;
|
|
24
|
+
/**
|
|
25
|
+
* Get a help content definition.
|
|
26
|
+
* Return a single help content definition, selected by ID.
|
|
27
|
+
* @param helpContentId
|
|
28
|
+
* @returns HelpContent OK
|
|
29
|
+
* @returns Error Default error response
|
|
30
|
+
* @throws ApiError
|
|
31
|
+
*/
|
|
32
|
+
static getHelpContentById(helpContentId: string): Promise<HelpContent | Error>;
|
|
33
|
+
/**
|
|
34
|
+
* Update a help content definition.
|
|
35
|
+
* Update a single help content definition, selected by ID.
|
|
36
|
+
* @param helpContentId
|
|
37
|
+
* @param requestBody
|
|
38
|
+
* @returns HelpContent OK
|
|
39
|
+
* @returns Error Default error response
|
|
40
|
+
* @throws ApiError
|
|
41
|
+
*/
|
|
42
|
+
static putHelpContentById(helpContentId: string, requestBody: HelpContentPutBody): Promise<HelpContent | Error>;
|
|
43
|
+
/**
|
|
44
|
+
* Delete a help content definition.
|
|
45
|
+
* Delete a single help content definition, selected by ID.
|
|
46
|
+
* @param helpContentId
|
|
47
|
+
* @returns Error Default error response
|
|
48
|
+
* @throws ApiError
|
|
49
|
+
*/
|
|
50
|
+
static deleteHelpContentById(helpContentId: string): Promise<Error>;
|
|
51
|
+
}
|
package/src/lib/components/analytics/metadata-api/openapi/services/OriginInstancesService.d.ts
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import type { Error } from '../models/Error';
|
|
2
|
+
import type { OriginInstance } from '../models/OriginInstance';
|
|
3
|
+
import type { OriginInstancePagedResponse } from '../models/OriginInstancePagedResponse';
|
|
4
|
+
export declare class OriginInstancesService {
|
|
5
|
+
/**
|
|
6
|
+
* Get a list of OriginInstances.
|
|
7
|
+
* Return a list of OriginInstances, filtered by query parameters.
|
|
8
|
+
* @param start Offset of the first fetched item.
|
|
9
|
+
* @param count Maximum number of fetched items.
|
|
10
|
+
* @param sort Sort ordering to apply to the query.
|
|
11
|
+
* @param name String match on OriginInstance name.
|
|
12
|
+
* @param description String match on OriginInstance description.
|
|
13
|
+
* @param q Case-insensitive search of all text fields.
|
|
14
|
+
* @param id
|
|
15
|
+
* @returns OriginInstancePagedResponse OK
|
|
16
|
+
* @returns Error Default error response
|
|
17
|
+
* @throws ApiError
|
|
18
|
+
*/
|
|
19
|
+
static getOriginInstancesService(start?: number, count?: number, sort?: string, name?: string, description?: string, q?: string, id?: string): Promise<OriginInstancePagedResponse | Error>;
|
|
20
|
+
/**
|
|
21
|
+
* Create an OriginInstance.
|
|
22
|
+
* Creates an OriginInstance, owned by the authenticated API user.
|
|
23
|
+
* @param requestBody
|
|
24
|
+
* @returns OriginInstance OriginInstance created.
|
|
25
|
+
* @returns Error Default error response
|
|
26
|
+
* @throws ApiError
|
|
27
|
+
*/
|
|
28
|
+
static postOriginInstancesService(requestBody: OriginInstance): Promise<OriginInstance | Error>;
|
|
29
|
+
/**
|
|
30
|
+
* Get one OriginInstance.
|
|
31
|
+
* Return a single OriginInstance, selected by ID.
|
|
32
|
+
* @param id
|
|
33
|
+
* @returns OriginInstance OK
|
|
34
|
+
* @returns Error Default error response
|
|
35
|
+
* @throws ApiError
|
|
36
|
+
*/
|
|
37
|
+
static getOriginInstancesService1(id: string): Promise<OriginInstance | Error>;
|
|
38
|
+
/**
|
|
39
|
+
* Update a single OriginInstance.
|
|
40
|
+
* Updates an OriginInstance, selected by ID.
|
|
41
|
+
* @param id
|
|
42
|
+
* @param requestBody
|
|
43
|
+
* @returns OriginInstance OriginInstance updated.
|
|
44
|
+
* @returns Error Default error response
|
|
45
|
+
* @throws ApiError
|
|
46
|
+
*/
|
|
47
|
+
static putOriginInstancesService(id: string, requestBody: OriginInstance): Promise<OriginInstance | Error>;
|
|
48
|
+
/**
|
|
49
|
+
* Delete a OriginInstance.
|
|
50
|
+
* Deletes a single OriginInstance, selected by ID.
|
|
51
|
+
* @param id
|
|
52
|
+
* @returns Error Default error response
|
|
53
|
+
* @throws ApiError
|
|
54
|
+
*/
|
|
55
|
+
static deleteOriginInstancesService(id: string): Promise<Error>;
|
|
56
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import type { Error } from '../models/Error';
|
|
2
|
+
import type { Origin } from '../models/Origin';
|
|
3
|
+
import type { OriginPagedResponse } from '../models/OriginPagedResponse';
|
|
4
|
+
export declare class OriginsService {
|
|
5
|
+
/**
|
|
6
|
+
* Get a list of Origins.
|
|
7
|
+
* Return a list of Origins, filtered by query parameters.
|
|
8
|
+
* @param start Offset of the first fetched item.
|
|
9
|
+
* @param count Maximum number of fetched items.
|
|
10
|
+
* @param sort Sort ordering to apply to the query.
|
|
11
|
+
* @param name String match on Origin name.
|
|
12
|
+
* @param description String match on Origin description.
|
|
13
|
+
* @param q Case-insensitive search of all text fields.
|
|
14
|
+
* @param id
|
|
15
|
+
* @returns OriginPagedResponse OK
|
|
16
|
+
* @returns Error Default error response
|
|
17
|
+
* @throws ApiError
|
|
18
|
+
*/
|
|
19
|
+
static getOriginsService(start?: number, count?: number, sort?: string, name?: string, description?: string, q?: string, id?: string): Promise<OriginPagedResponse | Error>;
|
|
20
|
+
/**
|
|
21
|
+
* Create an Origin.
|
|
22
|
+
* Creates an Origin, owned by the authenticated API user.
|
|
23
|
+
* @param requestBody
|
|
24
|
+
* @returns Origin Origin created.
|
|
25
|
+
* @returns Error Default error response
|
|
26
|
+
* @throws ApiError
|
|
27
|
+
*/
|
|
28
|
+
static postOriginsService(requestBody: Origin): Promise<Origin | Error>;
|
|
29
|
+
/**
|
|
30
|
+
* Get one Origin.
|
|
31
|
+
* Return a single Origin, selected by ID.
|
|
32
|
+
* @param id
|
|
33
|
+
* @returns Origin OK
|
|
34
|
+
* @returns Error Default error response
|
|
35
|
+
* @throws ApiError
|
|
36
|
+
*/
|
|
37
|
+
static getOriginsService1(id: string): Promise<Origin | Error>;
|
|
38
|
+
/**
|
|
39
|
+
* Update a single Origin.
|
|
40
|
+
* Updates an Origin, selected by ID.
|
|
41
|
+
* @param id
|
|
42
|
+
* @param requestBody
|
|
43
|
+
* @returns Origin Origin updated.
|
|
44
|
+
* @returns Error Default error response
|
|
45
|
+
* @throws ApiError
|
|
46
|
+
*/
|
|
47
|
+
static putOriginsService(id: string, requestBody: Origin): Promise<Origin | Error>;
|
|
48
|
+
/**
|
|
49
|
+
* Delete a Origin.
|
|
50
|
+
* Deletes a single Origin, selected by ID.
|
|
51
|
+
* @param id
|
|
52
|
+
* @returns Error Default error response
|
|
53
|
+
* @throws ApiError
|
|
54
|
+
*/
|
|
55
|
+
static deleteOriginsService(id: string): Promise<Error>;
|
|
56
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { Error } from '../models/Error';
|
|
2
|
+
import type { HealthCheckResponse } from '../models/HealthCheckResponse';
|
|
3
|
+
import type { TenantInfo } from '../models/TenantInfo';
|
|
4
|
+
import type { VersionResponse } from '../models/VersionResponse';
|
|
5
|
+
export declare class UtilityService {
|
|
6
|
+
/**
|
|
7
|
+
* An aliveness check, also verifies database connectivity.
|
|
8
|
+
* Returns 200 OK if the service is up and running.
|
|
9
|
+
* @returns Error Default error response
|
|
10
|
+
* @throws ApiError
|
|
11
|
+
*/
|
|
12
|
+
static getUtilityService(): Promise<Error>;
|
|
13
|
+
/**
|
|
14
|
+
* Version
|
|
15
|
+
* Returns information about the version of the service.
|
|
16
|
+
* @returns VersionResponse OK
|
|
17
|
+
* @returns Error Default error response
|
|
18
|
+
* @throws ApiError
|
|
19
|
+
*/
|
|
20
|
+
static getUtilityService1(): Promise<VersionResponse | Error>;
|
|
21
|
+
/**
|
|
22
|
+
* Health check
|
|
23
|
+
* Return information about the health of the service.
|
|
24
|
+
* @returns HealthCheckResponse OK
|
|
25
|
+
* @returns Error Default error response
|
|
26
|
+
* @throws ApiError
|
|
27
|
+
*/
|
|
28
|
+
static getUtilityService2(): Promise<HealthCheckResponse | Error>;
|
|
29
|
+
/**
|
|
30
|
+
* Prometheus metrics
|
|
31
|
+
* Return service metrics in a Prometheus-friendly format.
|
|
32
|
+
* @returns any OK
|
|
33
|
+
* @returns Error Default error response
|
|
34
|
+
* @throws ApiError
|
|
35
|
+
*/
|
|
36
|
+
static getUtilityService3(): Promise<any | Error>;
|
|
37
|
+
/**
|
|
38
|
+
* [EXPERIMENTAL] Get Tenant information specific to this Service.
|
|
39
|
+
* Returns information about a single Tenant identified by account/tenant ID.
|
|
40
|
+
* @param xDigitalaiAccountId Perform the requested operation in the context of the Digital.ai account represented by this GUID. <em>Requires elevated permissions.</em>
|
|
41
|
+
* @returns TenantInfo OK
|
|
42
|
+
* @returns Error Default error response
|
|
43
|
+
* @throws ApiError
|
|
44
|
+
*/
|
|
45
|
+
static getUtilityService4(xDigitalaiAccountId?: string): Promise<TenantInfo | Error>;
|
|
46
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IBoardStatusContext, IBoardStatusProvider } from '../interfaces';
|
|
3
|
+
export declare const BoardStatusContext: import("react").Context<IBoardStatusContext>;
|
|
4
|
+
export declare const useBoardStatus: () => IBoardStatusContext;
|
|
5
|
+
export declare const BoardStatusProvider: ({ children, spacing, }: IBoardStatusProvider) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DotBoardProps } from '../interfaces';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
/**
|
|
4
|
+
* A flexible framework component for creating a board.
|
|
5
|
+
* Subcomponents may be used or omitted as desired
|
|
6
|
+
* `useBoardStatus` can be used to get state information about the board
|
|
7
|
+
*/
|
|
8
|
+
export declare const Board: React.ForwardRefExoticComponent<DotBoardProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const classNames: {
|
|
2
|
+
root: string;
|
|
3
|
+
spacingNormal: string;
|
|
4
|
+
spacingDense: string;
|
|
5
|
+
loading: string;
|
|
6
|
+
};
|
|
7
|
+
export declare const StyledBoard: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
8
|
+
export declare const StyledLoadingIndicator: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IBoardColumnStatusContext, IColumnStatusProvider } from '../interfaces';
|
|
3
|
+
export declare const BoardColumnStatusContext: import("react").Context<IBoardColumnStatusContext>;
|
|
4
|
+
export declare const useColumnStatus: () => IBoardColumnStatusContext;
|
|
5
|
+
export declare const ColumnStatusProvider: ({ children, onCollapseToggle, }: IColumnStatusProvider) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { DotBoardColumnProps } from '../interfaces';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
/**
|
|
4
|
+
* Represents a single column in the board.
|
|
5
|
+
* useColumnStatus can be used to get state information about the column
|
|
6
|
+
*/
|
|
7
|
+
export declare const BoardColumn: React.ForwardRefExoticComponent<DotBoardColumnProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const classNames: {
|
|
2
|
+
root: string;
|
|
3
|
+
spacingNormal: string;
|
|
4
|
+
spacingDense: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const StyledBoardColumnActionBar: import("styled-components").StyledComponent<({ ariaLabel, children, className, "data-testid": dataTestId, variant, }: import("../../action-toolbar/ActionToolbar").DotActionBarProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { BoardColumnActionBar as DotBoardColumnActionBar } from './ColumnActionBar';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { BoardColumnCollapse as DotBoardColumnCollapse } from './ColumnCollapse';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { BoardColumnExpand as DotBoardColumnExpand } from './ColumnExpand';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { DotBoardColumnHeaderProps } from '../interfaces';
|
|
2
|
+
/**
|
|
3
|
+
* Header for the column. Expects lineBarHexColor to have the form: "#XXXXXX"
|
|
4
|
+
*/
|
|
5
|
+
export declare const BoardColumnHeader: ({ ariaLabel, "data-testid": dataTestId, children, className, lineBarHexColor, style, }: DotBoardColumnHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { BoardColumnHeader as DotBoardColumnHeader } from './ColumnHeader';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { DotBoardColumnItemsProps } from '../interfaces';
|
|
2
|
+
/**
|
|
3
|
+
* Container for items within a column
|
|
4
|
+
*/
|
|
5
|
+
export declare const BoardColumnItems: ({ ariaLabel, "data-testid": dataTestId, children, className, style, }: DotBoardColumnItemsProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { BoardColumnItems as DotBoardColumnItems } from './ColumnItems';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { DotBoardColumnSummaryProps } from '../interfaces';
|
|
2
|
+
/**
|
|
3
|
+
* A summary component for a a column. Displays test verticially instead of horizonally.
|
|
4
|
+
*/
|
|
5
|
+
export declare const BoardColumnSummary: ({ ariaLabel, "data-testid": dataTestId, className, style, text, title, }: DotBoardColumnSummaryProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { BoardColumnSummary as DotBoardColumnSummary } from './ColumnSummary';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { DotBoard, useBoardStatus, BoardStatusProvider } from './board';
|
|
2
|
+
export { DotBoardColumn, useColumnStatus, ColumnStatusProvider } from './column';
|
|
3
|
+
export { DotBoardColumnHeader } from './column-header';
|
|
4
|
+
export { DotBoardColumnItems } from './column-items';
|
|
5
|
+
export { DotBoardColumnActionBar } from './column-actionbar';
|
|
6
|
+
export { DotBoardColumnExpand } from "./column-expand";
|
|
7
|
+
export { DotBoardColumnCollapse } from "./column-collapse";
|
|
8
|
+
export { DotBoardColumnSummary } from "./column-summary";
|
|
9
|
+
export { DotBoardProps, DotBoardColumnProps, DotBoardColumnHeaderProps, DotBoardColumnItemsProps, DotBoardColumnActionBarProps, DotBoardColumnSummaryProps, BoardSpacing, IBoardStatusProvider, IBoardColumnStatusContext, IColumnStatusProvider } from './interfaces';
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { CommonProps } from '../CommonProps';
|
|
3
|
+
interface IStyles {
|
|
4
|
+
style?: React.CSSProperties;
|
|
5
|
+
}
|
|
6
|
+
export type BoardSpacing = 'dense' | 'normal';
|
|
7
|
+
export interface IBoardStatusContext {
|
|
8
|
+
spacing: BoardSpacing;
|
|
9
|
+
}
|
|
10
|
+
export interface IBoardStatusProvider extends IBoardStatusContext {
|
|
11
|
+
children: React.ReactNode;
|
|
12
|
+
}
|
|
13
|
+
export interface IBoardColumnStatusContext {
|
|
14
|
+
collapsed: boolean;
|
|
15
|
+
setCollapsed: React.Dispatch<React.SetStateAction<boolean>>;
|
|
16
|
+
}
|
|
17
|
+
export interface IColumnStatusProvider {
|
|
18
|
+
children: React.ReactNode;
|
|
19
|
+
onCollapseToggle?: (newVal: boolean) => void;
|
|
20
|
+
}
|
|
21
|
+
export interface DotBoardProps extends CommonProps, IStyles {
|
|
22
|
+
children: React.ReactNode;
|
|
23
|
+
loading?: boolean;
|
|
24
|
+
spacing?: BoardSpacing;
|
|
25
|
+
}
|
|
26
|
+
export interface DotBoardColumnProps extends CommonProps, IStyles {
|
|
27
|
+
children: React.ReactNode;
|
|
28
|
+
}
|
|
29
|
+
export interface DotBoardColumnHeaderProps extends CommonProps, IStyles {
|
|
30
|
+
children: React.ReactNode;
|
|
31
|
+
lineBarHexColor?: string;
|
|
32
|
+
}
|
|
33
|
+
export interface DotBoardColumnItemsProps extends CommonProps, IStyles {
|
|
34
|
+
children: React.ReactNode;
|
|
35
|
+
}
|
|
36
|
+
export interface DotBoardColumnActionBarProps extends CommonProps, IStyles {
|
|
37
|
+
children: React.ReactNode;
|
|
38
|
+
}
|
|
39
|
+
export interface DotBoardColumnSummaryProps extends CommonProps, IStyles {
|
|
40
|
+
text: string;
|
|
41
|
+
title: string;
|
|
42
|
+
}
|
|
43
|
+
export {};
|
|
@@ -44,6 +44,7 @@ export type { StepProps } from './stepper/Stepper';
|
|
|
44
44
|
export type { CarouselAnimationVariant, CarouselNavigationButtonDisplayOption, CarouselProps, } from './carousel/Carousel';
|
|
45
45
|
export type { StickyWithBorderProps } from './sticky-with-border';
|
|
46
46
|
export type { TooltipProps, TooltipHoverVisibility, TooltipPlacement, } from './tooltip';
|
|
47
|
+
export type { DashboardHeaderProps } from './analytics/dashboard-header/DashboardHeader';
|
|
47
48
|
export { DotAccordion } from './accordion/Accordion';
|
|
48
49
|
export { DotActionToolbar } from './action-toolbar/ActionToolbar';
|
|
49
50
|
export { DotAlertBanner } from './alert-banner/AlertBanner';
|
|
@@ -69,6 +70,11 @@ export { DotCoreApiProvider, useDotCoreApiContext, } from './core-api/CoreApiPro
|
|
|
69
70
|
export { Cell, CssCell } from './css-grid/CssCell';
|
|
70
71
|
export { CssGrid } from './css-grid/CssGrid';
|
|
71
72
|
export { CssGridDebug } from './css-grid/CssGridDebug';
|
|
73
|
+
export { DashboardAppTypeOptions, DashboardData, DotDashboardDialog, } from './analytics/dashboard-dialog/DashboardDialog';
|
|
74
|
+
export { DotDashboardActions } from './analytics/dashboard-actions/DashboardActions';
|
|
75
|
+
export { DotDashboardHeader } from './analytics/dashboard-header/DashboardHeader';
|
|
76
|
+
export { DotDashboardOptionsMenu } from './analytics/dashboard-actions/DashboardOptionsMenu';
|
|
77
|
+
export { DotDashboardPublishConfirm } from './analytics/dashboard-actions/DashboardPublishConfirm';
|
|
72
78
|
export { DotDialog } from './dialog/Dialog';
|
|
73
79
|
export { DotDrawer } from './drawer/Drawer';
|
|
74
80
|
export { DotEmptyState } from './empty-state/EmptyState';
|
|
@@ -84,6 +90,7 @@ export { DotInputSelect } from './input-form-fields/InputSelect';
|
|
|
84
90
|
export { DotLink } from './link/Link';
|
|
85
91
|
export { DotList } from './list';
|
|
86
92
|
export { DotMenu } from './menu/Menu';
|
|
93
|
+
export { DotMetadataApiProvider, useDotMetadataApiContext, } from './analytics/metadata-api/MetadataApiProvider';
|
|
87
94
|
export { DotNavigationRail } from './navigation-rail';
|
|
88
95
|
export { DotPill } from './pill/Pill';
|
|
89
96
|
export { DotProgress } from './progress';
|
|
@@ -91,7 +98,7 @@ export { DotRadioButton } from './radio/RadioButton';
|
|
|
91
98
|
export { DotRadioGroup } from './radio/RadioGroup';
|
|
92
99
|
export { DotSidebar } from './sidebar/Sidebar';
|
|
93
100
|
export { DotSkeleton } from './skeleton/Skeleton';
|
|
94
|
-
export { DotSnackbar, DotSnackbarContainer, DotSnackbarProvider, useDotSnackbarContext, } from './snackbar';
|
|
101
|
+
export { DotSnackbar, DotSnackbarContainer, DotSnackbarProvider, useDotSnackbarContext, useEnqueueErrorMessage, } from './snackbar';
|
|
95
102
|
export { DotSplitButton } from './split-button/SplitButton';
|
|
96
103
|
export { DotStepper } from './stepper/Stepper';
|
|
97
104
|
export { DotProgressButton } from './progress-button/ProgressButton';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
+
import { GenericApiError } from './utils/helpers';
|
|
2
3
|
import { SnackbarPrimaryAction, SnackbarSecondaryAction, SnackbarSeverity } from './Snackbar';
|
|
3
4
|
declare const initialState: {
|
|
4
5
|
message: string;
|
|
@@ -26,4 +27,5 @@ export declare const DotSnackbarContext: import("react").Context<DotSnackbarProp
|
|
|
26
27
|
export declare const DotSnackbarContainer: ({ hideOnClickAway, }: SnackbarContainerProps) => import("react/jsx-runtime").JSX.Element;
|
|
27
28
|
export declare const DotSnackbarProvider: ({ children, hideOnClickAway, }: SnackbarProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
28
29
|
export declare const useDotSnackbarContext: () => DotSnackbarProps;
|
|
30
|
+
export declare const useEnqueueErrorMessage: (error: GenericApiError | Error) => void;
|
|
29
31
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export type { SnackbarOrigin } from '@mui/material';
|
|
2
2
|
export type { SnackbarProps, SnackbarSeverity, SnackbarPrimaryAction, SnackbarSecondaryAction, } from './Snackbar';
|
|
3
3
|
export { DotSnackbar } from './Snackbar';
|
|
4
|
-
export { DotSnackbarContainer, DotSnackbarProvider, useDotSnackbarContext, } from './SnackbarProvider';
|
|
4
|
+
export { DotSnackbarContainer, DotSnackbarProvider, useDotSnackbarContext, useEnqueueErrorMessage, } from './SnackbarProvider';
|
|
@@ -1,2 +1,11 @@
|
|
|
1
1
|
import { SnackbarSeverity } from '../Snackbar';
|
|
2
2
|
export declare const getSnackbarTitleFromSeverity: (severity: SnackbarSeverity) => "Success" | "Warning" | "Error" | "Info";
|
|
3
|
+
export type GenericApiError = {
|
|
4
|
+
body: {
|
|
5
|
+
error: {
|
|
6
|
+
message: string;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
status: number;
|
|
10
|
+
};
|
|
11
|
+
export declare function getErrorText(error: GenericApiError | Error): string;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from './cancelable-promise/CancelablePromise';
|
|
2
|
+
export declare const getPlatformConsoleUrlFromToken: (encodedToken: string) => string;
|
|
3
|
+
/**
|
|
4
|
+
* Detects the MIME type of an image based on the first few bytes of the image data
|
|
5
|
+
* @param b64 Base64 encoded image data
|
|
6
|
+
* @param defaultMimeType mime type to return if it can't be determined from the given b64 string
|
|
7
|
+
*
|
|
8
|
+
* @returns mime type string
|
|
9
|
+
*/
|
|
10
|
+
export declare function detectImageMimeType(b64?: string, defaultMimeType?: string): string;
|
|
File without changes
|