@epam/statgpt-conversation-view 0.3.0-rc.21 → 0.3.0-rc.23

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.
@@ -1,3 +1,9 @@
1
+ import { StructureComponentValue } from './structure-component';
1
2
  export interface MetadataSettings {
2
3
  isMetadataDescription?: boolean;
3
4
  }
5
+ export interface DatasetInfoData {
6
+ dataset?: StructureComponentValue;
7
+ agency?: StructureComponentValue;
8
+ lastUpdated?: StructureComponentValue;
9
+ }
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@epam/statgpt-conversation-view",
3
- "version": "0.3.0-rc.21",
3
+ "version": "0.3.0-rc.23",
4
4
  "license": "MIT",
5
5
  "dependencies": {
6
6
  "classnames": "^2.5.1",
7
7
  "@epam/ai-dial-shared": "^0.43.3",
8
8
  "@tabler/icons-react": "^3.34.1",
9
- "@epam/statgpt-shared-toolkit": "0.3.0-rc.21",
10
- "@epam/statgpt-ui-components": "0.3.0-rc.21",
11
- "@epam/statgpt-sdmx-toolkit": "0.3.0-rc.21",
9
+ "@epam/statgpt-shared-toolkit": "0.3.0-rc.23",
10
+ "@epam/statgpt-ui-components": "0.3.0-rc.23",
11
+ "@epam/statgpt-sdmx-toolkit": "0.3.0-rc.23",
12
12
  "react-window": "^1.8.11",
13
13
  "react-virtualized-auto-sizer": "^1.0.26",
14
14
  "ag-grid-community": "33.3.2",
@@ -16,10 +16,10 @@
16
16
  "@floating-ui/react": "^0.27.14",
17
17
  "echarts": "^5.6.0",
18
18
  "echarts-for-react": "^3.0.2",
19
- "@epam/statgpt-dial-toolkit": "0.3.0-rc.21",
19
+ "@epam/statgpt-dial-toolkit": "0.3.0-rc.23",
20
20
  "react-markdown": "^10.1.0",
21
21
  "remark-gfm": "^4.0.1",
22
- "@epam/statgpt-conversation-list": "0.3.0-rc.21",
22
+ "@epam/statgpt-conversation-list": "0.3.0-rc.23",
23
23
  "flatpickr": "4.6.13",
24
24
  "react-flatpickr": "^4.0.11",
25
25
  "date-fns": "^4.1.0",
@@ -3,6 +3,7 @@ import { ICellRendererParams, ColDef } from 'ag-grid-community';
3
3
  import { StructureComponentValue } from '../../models/structure-component';
4
4
  import { GridData } from '../../types/data-grid/grid-data';
5
5
  import { ConversationViewTitles } from '../../models/titles';
6
+ import { DatasetInfoData } from '../../models/metadata';
6
7
  export declare const getObsAttributesFromParams: (params: ICellRendererParams) => any;
7
8
  export declare const getAttributesFromParams: (params: ICellRendererParams) => any;
8
9
  export declare const getDimensionsFromParams: (params: ICellRendererParams, structureComponentsMap: Map<string, Codelist | ElementBase>) => {
@@ -17,10 +18,20 @@ export declare const getDatasetNameItem: (dataset: Dataflow | undefined | null,
17
18
  title: string;
18
19
  value: string | undefined;
19
20
  };
20
- export declare const getDatasetDescription: (dataset: Dataflow | undefined | null, lastUpdatedDate: string, locale: string, titles?: ConversationViewTitles) => {
21
+ export declare const getDatasetDescription: (dataset: Dataflow | undefined | null, lastUpdatedDate: string, locale: string, titles?: ConversationViewTitles) => ({
22
+ id: "dataset";
21
23
  title: string;
22
24
  value: string | undefined;
23
- }[];
25
+ } | {
26
+ id: "agency";
27
+ title: string;
28
+ value: string | undefined;
29
+ } | {
30
+ id: "lastUpdated";
31
+ title: string;
32
+ value: string;
33
+ })[];
34
+ export declare const getDatasetInfoData: (dataset: Dataflow | undefined | null, lastUpdatedDate: string, locale: string, titles?: ConversationViewTitles) => DatasetInfoData;
24
35
  export declare const getTimeDimensionItem: (dataSetData: StructuralData, locale: string, colDef?: ColDef) => {
25
36
  title: string | undefined;
26
37
  value: string;