@gen3/frontend 0.11.32 → 0.11.33
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/dist/cjs/index.js +1507 -120
- package/dist/cjs/index.js.map +1 -1
- package/dist/dts/components/AddtoDataLibrary/AddToDataLibrary.d.ts +1 -1
- package/dist/dts/components/AddtoDataLibrary/AddToDataLibrary.d.ts.map +1 -1
- package/dist/dts/components/AddtoDataLibrary/AddToDataLibrary.js +15 -11
- package/dist/dts/components/AddtoDataLibrary/AddToDataLibrary.js.map +1 -1
- package/dist/dts/components/AddtoDataLibrary/AddToDataLibrary.stories.d.ts +10 -1
- package/dist/dts/components/AddtoDataLibrary/AddToDataLibrary.stories.d.ts.map +1 -1
- package/dist/dts/components/AddtoDataLibrary/AddToDataLibrary.stories.js +4 -0
- package/dist/dts/components/AddtoDataLibrary/AddToDataLibrary.stories.js.map +1 -1
- package/dist/dts/components/AddtoDataLibrary/types.d.ts +2 -1
- package/dist/dts/components/AddtoDataLibrary/types.d.ts.map +1 -1
- package/dist/dts/components/Buttons/DownloadButtons/JSONObjectDownloadButton.js +1 -0
- package/dist/dts/components/Buttons/DownloadButtons/JSONObjectDownloadButton.js.map +1 -1
- package/dist/dts/components/Buttons/DownloadButtons/index.d.ts +2 -0
- package/dist/dts/components/Buttons/DownloadButtons/index.d.ts.map +1 -1
- package/dist/dts/components/Buttons/DownloadButtons/index.js +2 -0
- package/dist/dts/components/Buttons/DownloadButtons/index.js.map +1 -1
- package/dist/dts/components/Buttons/FunctionButton.d.ts +32 -0
- package/dist/dts/components/Buttons/FunctionButton.d.ts.map +1 -0
- package/dist/dts/components/Buttons/FunctionButton.js +99 -0
- package/dist/dts/components/Buttons/FunctionButton.js.map +1 -0
- package/dist/dts/components/CollapsableSidebar/CollapsableSidebar.stories.d.ts +1 -1
- package/dist/dts/components/CollapsableSidebar/CollapsableSidebar.stories.d.ts.map +1 -1
- package/dist/dts/components/DataItems/TruncatedStringWithTooltip.stories.d.ts +1 -1
- package/dist/dts/components/DataItems/TruncatedStringWithTooltip.stories.d.ts.map +1 -1
- package/dist/dts/components/Login/LoginPanel.d.ts.map +1 -1
- package/dist/dts/components/Login/LoginPanel.js +10 -4
- package/dist/dts/components/Login/LoginPanel.js.map +1 -1
- package/dist/dts/components/MessageCards/MessagePage.d.ts +7 -0
- package/dist/dts/components/MessageCards/MessagePage.d.ts.map +1 -0
- package/dist/dts/components/MessageCards/MessagePage.js +8 -0
- package/dist/dts/components/MessageCards/MessagePage.js.map +1 -0
- package/dist/dts/components/MessageCards/index.d.ts +2 -1
- package/dist/dts/components/MessageCards/index.d.ts.map +1 -1
- package/dist/dts/components/MessageCards/index.js +2 -1
- package/dist/dts/components/MessageCards/index.js.map +1 -1
- package/dist/dts/components/Providers/Gen3Provider.d.ts +12 -12
- package/dist/dts/components/SegmentedControl.stories.d.ts +2 -2
- package/dist/dts/components/SegmentedControl.stories.d.ts.map +1 -1
- package/dist/dts/components/Tables/ColumnOrdering.d.ts +11 -0
- package/dist/dts/components/Tables/ColumnOrdering.d.ts.map +1 -0
- package/dist/dts/components/Tables/ColumnOrdering.js +92 -0
- package/dist/dts/components/Tables/ColumnOrdering.js.map +1 -0
- package/dist/dts/components/Tables/ShowingCount.d.ts +12 -0
- package/dist/dts/components/Tables/ShowingCount.d.ts.map +1 -0
- package/dist/dts/components/Tables/ShowingCount.js +17 -0
- package/dist/dts/components/Tables/ShowingCount.js.map +1 -0
- package/dist/dts/components/Tables/TableHeader.d.ts +25 -0
- package/dist/dts/components/Tables/TableHeader.d.ts.map +1 -0
- package/dist/dts/components/Tables/TableHeader.js +84 -0
- package/dist/dts/components/Tables/TableHeader.js.map +1 -0
- package/dist/dts/components/Tables/TablePagination.d.ts +13 -0
- package/dist/dts/components/Tables/TablePagination.d.ts.map +1 -0
- package/dist/dts/components/Tables/TablePagination.js +67 -0
- package/dist/dts/components/Tables/TablePagination.js.map +1 -0
- package/dist/dts/components/Tables/types.d.ts +66 -0
- package/dist/dts/components/Tables/types.d.ts.map +1 -1
- package/dist/dts/components/Tables/utils.d.ts +16 -0
- package/dist/dts/components/Tables/utils.d.ts.map +1 -1
- package/dist/dts/components/Tables/utils.js +47 -0
- package/dist/dts/components/Tables/utils.js.map +1 -1
- package/dist/dts/components/facets/FiltersPanel.d.ts +3 -3
- package/dist/dts/components/facets/FiltersPanel.d.ts.map +1 -1
- package/dist/dts/components/facets/FiltersPanel.js.map +1 -1
- package/dist/dts/components/facets/Panels/DropdownPanel.d.ts +2 -1
- package/dist/dts/components/facets/Panels/DropdownPanel.d.ts.map +1 -1
- package/dist/dts/components/facets/Panels/DropdownPanel.js +7 -7
- package/dist/dts/components/facets/Panels/DropdownPanel.js.map +1 -1
- package/dist/dts/components/facets/Panels/types.d.ts +2 -2
- package/dist/dts/components/facets/Panels/types.d.ts.map +1 -1
- package/dist/dts/features/Analysis/AnalysisCard.stories.d.ts +2 -2
- package/dist/dts/features/Analysis/AnalysisCard.stories.d.ts.map +1 -1
- package/dist/dts/features/Analysis/AnalysisCardCompact.stories.d.ts +6 -6
- package/dist/dts/features/Analysis/AnalysisCardCompact.stories.d.ts.map +1 -1
- package/dist/dts/features/Analysis/AnalysisCenterWithSections.stories.d.ts +1 -1
- package/dist/dts/features/Analysis/AnalysisCenterWithSections.stories.d.ts.map +1 -1
- package/dist/dts/features/Analysis/AnalysisPanel.stories.d.ts +2 -2
- package/dist/dts/features/Analysis/AnalysisPanel.stories.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/CohortPanel.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/CohortPanel.js +3 -3
- package/dist/dts/features/CohortBuilder/CohortPanel.js.map +1 -1
- package/dist/dts/features/CohortBuilder/ExplorerTable/AccessCellRenderers.d.ts +3 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/AccessCellRenderers.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/AccessCellRenderers.js +46 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/AccessCellRenderers.js.map +1 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/ArrayCellRenderer.d.ts +1 -2
- package/dist/dts/features/CohortBuilder/ExplorerTable/ArrayCellRenderer.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/ExplorerTable/ArrayCellRenderer.js.map +1 -1
- package/dist/dts/features/CohortBuilder/ExplorerTable/CellRenderers.d.ts +1 -3
- package/dist/dts/features/CohortBuilder/ExplorerTable/CellRenderers.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/ExplorerTable/CellRenderers.js +0 -1
- package/dist/dts/features/CohortBuilder/ExplorerTable/CellRenderers.js.map +1 -1
- package/dist/dts/features/CohortBuilder/ExplorerTable/ExplorerTable.d.ts +1 -1
- package/dist/dts/features/CohortBuilder/ExplorerTable/ExplorerTable.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/ExplorerTable/ExplorerTable.js +43 -13
- package/dist/dts/features/CohortBuilder/ExplorerTable/ExplorerTable.js.map +1 -1
- package/dist/dts/features/CohortBuilder/ExplorerTable/ExplorerTableCellRenderers.d.ts +1 -3
- package/dist/dts/features/CohortBuilder/ExplorerTable/ExplorerTableCellRenderers.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/ExplorerTable/ExplorerTableCellRenderers.js +64 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/ExplorerTableCellRenderers.js.map +1 -1
- package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/ExpandingSubtable.js +1 -1
- package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/ExpandingSubtable.js.map +1 -1
- package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/SubtableAccordian.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/SubtableAccordian.js +1 -1
- package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/SubtableAccordian.js.map +1 -1
- package/dist/dts/features/CohortBuilder/ExplorerTable/context.d.ts +5 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/context.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/context.js +5 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/context.js.map +1 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/index.d.ts +3 -2
- package/dist/dts/features/CohortBuilder/ExplorerTable/index.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/ExplorerTable/index.js +3 -1
- package/dist/dts/features/CohortBuilder/ExplorerTable/index.js.map +1 -1
- package/dist/dts/features/CohortBuilder/ExplorerTable/types.d.ts +12 -2
- package/dist/dts/features/CohortBuilder/ExplorerTable/types.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/ExplorerTable/utils.d.ts +16 -2
- package/dist/dts/features/CohortBuilder/ExplorerTable/utils.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/ExplorerTable/utils.js +17 -3
- package/dist/dts/features/CohortBuilder/ExplorerTable/utils.js.map +1 -1
- package/dist/dts/features/CohortBuilder/Repository/FileFacetPanel.d.ts +11 -0
- package/dist/dts/features/CohortBuilder/Repository/FileFacetPanel.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/Repository/FileFacetPanel.js +92 -0
- package/dist/dts/features/CohortBuilder/Repository/FileFacetPanel.js.map +1 -0
- package/dist/dts/features/CohortBuilder/Repository/Repository.d.ts +4 -0
- package/dist/dts/features/CohortBuilder/Repository/Repository.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/Repository/Repository.js +14 -0
- package/dist/dts/features/CohortBuilder/Repository/Repository.js.map +1 -0
- package/dist/dts/features/CohortBuilder/Repository/RepositoryPanel.d.ts +4 -0
- package/dist/dts/features/CohortBuilder/Repository/RepositoryPanel.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/Repository/RepositoryPanel.js +43 -0
- package/dist/dts/features/CohortBuilder/Repository/RepositoryPanel.js.map +1 -0
- package/dist/dts/features/CohortBuilder/Repository/Stats.d.ts +9 -0
- package/dist/dts/features/CohortBuilder/Repository/Stats.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/Repository/Stats.js +9 -0
- package/dist/dts/features/CohortBuilder/Repository/Stats.js.map +1 -0
- package/dist/dts/features/CohortBuilder/Repository/hooks.d.ts +9 -0
- package/dist/dts/features/CohortBuilder/Repository/hooks.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/Repository/hooks.js +53 -0
- package/dist/dts/features/CohortBuilder/Repository/hooks.js.map +1 -0
- package/dist/dts/features/CohortBuilder/Repository/index.d.ts +4 -0
- package/dist/dts/features/CohortBuilder/Repository/index.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/Repository/index.js +3 -0
- package/dist/dts/features/CohortBuilder/Repository/index.js.map +1 -0
- package/dist/dts/features/CohortBuilder/Repository/types.d.ts +57 -0
- package/dist/dts/features/CohortBuilder/Repository/types.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/Repository/types.js +2 -0
- package/dist/dts/features/CohortBuilder/Repository/types.js.map +1 -0
- package/dist/dts/features/CohortBuilder/downloads/downloadActionHook.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/downloads/downloadActionHook.js +4 -1
- package/dist/dts/features/CohortBuilder/downloads/downloadActionHook.js.map +1 -1
- package/dist/dts/features/CohortBuilder/index.d.ts +4 -2
- package/dist/dts/features/CohortBuilder/index.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/index.js +4 -2
- package/dist/dts/features/CohortBuilder/index.js.map +1 -1
- package/dist/dts/features/CohortBuilder/types.d.ts +1 -3
- package/dist/dts/features/CohortBuilder/types.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/types.js.map +1 -1
- package/dist/dts/features/Dictionary/Dictionary.d.ts.map +1 -1
- package/dist/dts/features/Dictionary/Dictionary.js +5 -2
- package/dist/dts/features/Dictionary/Dictionary.js.map +1 -1
- package/dist/dts/features/Dictionary/GraphView.d.ts +9 -0
- package/dist/dts/features/Dictionary/GraphView.d.ts.map +1 -0
- package/dist/dts/features/Dictionary/GraphView.js +99 -0
- package/dist/dts/features/Dictionary/GraphView.js.map +1 -0
- package/dist/dts/features/Dictionary/graphViewDataUtils.d.ts +114 -0
- package/dist/dts/features/Dictionary/graphViewDataUtils.d.ts.map +1 -0
- package/dist/dts/features/Dictionary/graphViewDataUtils.js +332 -0
- package/dist/dts/features/Dictionary/graphViewDataUtils.js.map +1 -0
- package/dist/dts/features/Dictionary/utils.d.ts.map +1 -1
- package/dist/dts/features/Dictionary/utils.js.map +1 -1
- package/dist/dts/features/Discovery/ActionBar/AddToDataLibrary.stories.d.ts +1 -1
- package/dist/dts/features/Discovery/ActionBar/AddToDataLibrary.stories.d.ts.map +1 -1
- package/dist/dts/features/Discovery/ActionBar/DataLibraryActionButton.stories.d.ts +1 -1
- package/dist/dts/features/Discovery/ActionBar/DataLibraryActionButton.stories.d.ts.map +1 -1
- package/dist/dts/features/Navigation/Footer/Footer.stories.d.ts +1 -1
- package/dist/dts/features/Navigation/Footer/Footer.stories.d.ts.map +1 -1
- package/dist/dts/features/Navigation/TopBar/IconButton.stories.d.ts +1 -1
- package/dist/dts/features/Navigation/TopBar/IconButton.stories.d.ts.map +1 -1
- package/dist/dts/features/Navigation/TopBar/TopBar.stories.d.ts +1 -1
- package/dist/dts/features/Navigation/TopBar/TopBar.stories.d.ts.map +1 -1
- package/dist/dts/index.d.ts +3 -2
- package/dist/dts/index.d.ts.map +1 -1
- package/dist/dts/index.js +5 -5
- package/dist/dts/index.js.map +1 -1
- package/dist/dts/lib/common/staticProps.d.ts.map +1 -1
- package/dist/dts/lib/common/staticProps.js +0 -1
- package/dist/dts/lib/common/staticProps.js.map +1 -1
- package/dist/dts/pages/404/Custom404Page.stories.d.ts +1 -1
- package/dist/dts/pages/404/Custom404Page.stories.d.ts.map +1 -1
- package/dist/dts/pages/Repository/Repository.d.ts +4 -0
- package/dist/dts/pages/Repository/Repository.d.ts.map +1 -0
- package/dist/dts/pages/Repository/Repository.js +25 -0
- package/dist/dts/pages/Repository/Repository.js.map +1 -0
- package/dist/dts/pages/Repository/data.d.ts +4 -0
- package/dist/dts/pages/Repository/data.d.ts.map +1 -0
- package/dist/dts/pages/Repository/data.js +93 -0
- package/dist/dts/pages/Repository/data.js.map +1 -0
- package/dist/dts/pages/Repository/index.d.ts +4 -0
- package/dist/dts/pages/Repository/index.d.ts.map +1 -0
- package/dist/dts/pages/Repository/index.js +4 -0
- package/dist/dts/pages/Repository/index.js.map +1 -0
- package/dist/dts/pages/Repository/types.d.ts +6 -0
- package/dist/dts/pages/Repository/types.d.ts.map +1 -0
- package/dist/dts/pages/Repository/types.js +2 -0
- package/dist/dts/pages/Repository/types.js.map +1 -0
- package/dist/dts/types/common.d.ts +4 -0
- package/dist/dts/types/common.d.ts.map +1 -1
- package/dist/dts/types/constants.d.ts +2 -0
- package/dist/dts/types/constants.d.ts.map +1 -1
- package/dist/dts/types/constants.js +2 -0
- package/dist/dts/types/constants.js.map +1 -1
- package/dist/dts/types/icons.d.ts +4 -3
- package/dist/dts/types/icons.d.ts.map +1 -1
- package/dist/dts/types/icons.js +4 -3
- package/dist/dts/types/icons.js.map +1 -1
- package/dist/dts/utils/RendererFactory.d.ts +1 -14
- package/dist/dts/utils/RendererFactory.d.ts.map +1 -1
- package/dist/dts/utils/RendererFactory.js.map +1 -1
- package/dist/dts/utils/time.d.ts +4 -0
- package/dist/dts/utils/time.d.ts.map +1 -1
- package/dist/dts/utils/time.js +4 -4
- package/dist/dts/utils/time.js.map +1 -1
- package/dist/dts/utils/validators.d.ts +2 -0
- package/dist/dts/utils/validators.d.ts.map +1 -0
- package/dist/dts/utils/validators.js +2 -0
- package/dist/dts/utils/validators.js.map +1 -0
- package/dist/esm/index.js +1511 -134
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +157 -31
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +6 -9
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
interface linkProps {
|
|
2
|
+
name: string;
|
|
3
|
+
target_type: string;
|
|
4
|
+
subgroup?: Array<any>;
|
|
5
|
+
target?: any;
|
|
6
|
+
}
|
|
7
|
+
interface nodeLinkListProps extends linkProps {
|
|
8
|
+
source: nodeExtendedProps;
|
|
9
|
+
target: nodeExtendedProps;
|
|
10
|
+
exists: number;
|
|
11
|
+
}
|
|
12
|
+
interface nodeProps {
|
|
13
|
+
id: string;
|
|
14
|
+
title: string;
|
|
15
|
+
type: string;
|
|
16
|
+
category: string;
|
|
17
|
+
links?: Array<linkProps>;
|
|
18
|
+
}
|
|
19
|
+
interface nodeExtendedProps extends nodeProps {
|
|
20
|
+
name: string;
|
|
21
|
+
count: number;
|
|
22
|
+
}
|
|
23
|
+
interface createNodesAndEdgesProps {
|
|
24
|
+
dictionary: {
|
|
25
|
+
[key: string]: nodeProps;
|
|
26
|
+
};
|
|
27
|
+
counts_search?: {
|
|
28
|
+
[key: string]: number;
|
|
29
|
+
};
|
|
30
|
+
links_search?: {
|
|
31
|
+
[key: string]: number;
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
interface nameEdgesInProps {
|
|
35
|
+
[key: string]: nodeLinkListProps[];
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Given a data dictionary that defines a set of nodes
|
|
39
|
+
* and edges, returns the nodes and edges in correct format
|
|
40
|
+
*
|
|
41
|
+
* @method createNodesAndEdges
|
|
42
|
+
* @param props: Object (normally taken from redux state) that includes dictionary
|
|
43
|
+
* property defining the dictionary as well as other optional properties
|
|
44
|
+
* such as counts_search and links_search (created by getCounts) with
|
|
45
|
+
* information about the number of each type (node) and link (between
|
|
46
|
+
* nodes with a link's source and target types) that actually
|
|
47
|
+
* exist in the data
|
|
48
|
+
* @param createAll: Include all nodes and edges or only those that are populated in
|
|
49
|
+
* counts_search and links_search
|
|
50
|
+
* @param nodesToHide: Array of nodes to hide from graph
|
|
51
|
+
* @returns { nodes, edges } Object containing nodes and edges
|
|
52
|
+
*/
|
|
53
|
+
export declare function createNodesAndEdges(props: createNodesAndEdgesProps, createAll: boolean, nodesToHide?: string[]): {
|
|
54
|
+
nodes: {
|
|
55
|
+
id: string;
|
|
56
|
+
title: string;
|
|
57
|
+
type: string;
|
|
58
|
+
category: string;
|
|
59
|
+
links?: Array<linkProps>;
|
|
60
|
+
name: string;
|
|
61
|
+
count: number;
|
|
62
|
+
}[];
|
|
63
|
+
edges: nodeLinkListProps[];
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* Find the root of the given graph (no edges out)
|
|
67
|
+
* @method findRoot
|
|
68
|
+
* @param nodes
|
|
69
|
+
* @param edges
|
|
70
|
+
* @return {string} rootName or null if no root
|
|
71
|
+
*/
|
|
72
|
+
export declare function findRoot(nodes: nodeExtendedProps[], edges: nodeLinkListProps[]): string | null;
|
|
73
|
+
/**
|
|
74
|
+
* Returns the hierarchy of the tree in the form of a map
|
|
75
|
+
* Each (key, value) consists of (node, node's descendants including the node itself)
|
|
76
|
+
* @method getTreeHierarchy
|
|
77
|
+
* @param root
|
|
78
|
+
* @param name2EdgesIn
|
|
79
|
+
* @return {map}
|
|
80
|
+
*/
|
|
81
|
+
export declare function getTreeHierarchy(root: string, name2EdgesIn: nameEdgesInProps): Map<any, any>;
|
|
82
|
+
/**
|
|
83
|
+
* Arrange nodes in dictionary graph breadth first, and build level database.
|
|
84
|
+
* If a node links to multiple parents, then place it under the highest parent ...
|
|
85
|
+
* Exported for testing.
|
|
86
|
+
*
|
|
87
|
+
* @param {Array} nodes
|
|
88
|
+
* @param {Array} edges
|
|
89
|
+
* @return { nodesBreadthFirst, treeLevel2Names, name2Level } where
|
|
90
|
+
* nodesBreadthFirst is array of node names, and
|
|
91
|
+
* treeLevel2Names is an array of arrays of node names,
|
|
92
|
+
* and name2Level is a mapping of node name to level
|
|
93
|
+
*/
|
|
94
|
+
export declare function nodesBreadthFirst(nodes: nodeExtendedProps[], edges: nodeLinkListProps[]): {
|
|
95
|
+
bfOrder: string[];
|
|
96
|
+
treeLevel2Names: Array<string[]>;
|
|
97
|
+
name2Level: {
|
|
98
|
+
[key: string]: number;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
export declare const formatDataForGraph: (categories: any) => {
|
|
102
|
+
data: {
|
|
103
|
+
id: string;
|
|
104
|
+
name: string;
|
|
105
|
+
x: number;
|
|
106
|
+
y: number;
|
|
107
|
+
}[];
|
|
108
|
+
links: {
|
|
109
|
+
source: string;
|
|
110
|
+
target: string;
|
|
111
|
+
}[];
|
|
112
|
+
};
|
|
113
|
+
export {};
|
|
114
|
+
//# sourceMappingURL=graphViewDataUtils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"graphViewDataUtils.d.ts","sourceRoot":"","sources":["../../../../src/features/Dictionary/graphViewDataUtils.ts"],"names":[],"mappings":"AAEA,UAAU,SAAS;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC;IACtB,MAAM,CAAC,EAAE,GAAG,CAAC;CACd;AACD,UAAU,iBAAkB,SAAQ,SAAS;IACzC,MAAM,EAAE,iBAAiB,CAAC;IAC1B,MAAM,EAAE,iBAAiB,CAAC;IAC1B,MAAM,EAAE,MAAM,CAAC;CAClB;AACD,UAAU,SAAS;IACf,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC;CAC5B;AACD,UAAU,iBAAkB,SAAQ,SAAS;IACzC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACjB;AAKD,UAAU,wBAAwB;IAChC,UAAU,EAAE;QACV,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAC;KAC1B,CAAC;IACF,aAAa,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IAC1C,YAAY,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;CAC1C;AAED,UAAU,gBAAgB;IACtB,CAAC,GAAG,EAAE,MAAM,GAAG,iBAAiB,EAAE,CAAC;CACtC;AAkCD;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,wBAAwB,EAAE,SAAS,EAAE,OAAO,EAAE,WAAW,WAAc;;YA1E1G,MAAM;eACH,MAAM;cACP,MAAM;kBACF,MAAM;gBACR,KAAK,CAAC,SAAS,CAAC;;;;;EA0I3B;AAED;;;;;;GAMG;AACH,wBAAgB,QAAQ,CAAC,KAAK,EAAE,iBAAiB,EAAE,EAAE,KAAK,EAAE,iBAAiB,EAAE,iBAoB9E;AA8BD;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,EAAE,YAAY,EAAE,gBAAgB,iBAE5E;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,iBAAiB,EAAE,EAAE,KAAK,EAAE,iBAAiB,EAAE;aAE3E,MAAM,EAAE;qBACA,KAAK,CAAC,MAAM,EAAE,CAAC;gBACpB;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAC;EAsGtC;AAmDD,eAAO,MAAM,kBAAkB,GAAI,YAAY,GAAG;;YAzC1C,MAAM;cACJ,MAAM;WACT,MAAM;WACN,MAAM;;;;;;CAuDZ,CAAC"}
|
|
@@ -0,0 +1,332 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Get subgroup links from link
|
|
14
|
+
* @param {object} link - array of links
|
|
15
|
+
* @param {object} nameToNode - key (node name) value (node object) map
|
|
16
|
+
* @param {string} sourceId - source id for subgroup links
|
|
17
|
+
* This function traverse links recursively and return all nested subgroup lnks
|
|
18
|
+
*/
|
|
19
|
+
var getSubgroupLinks = function (link, nameToNode, sourceId) {
|
|
20
|
+
var subgroupLinks = [];
|
|
21
|
+
if (link.subgroup) {
|
|
22
|
+
link.subgroup.forEach(function (sgLink) {
|
|
23
|
+
if (sgLink.subgroup) {
|
|
24
|
+
subgroupLinks = subgroupLinks.concat(getSubgroupLinks(sgLink, nameToNode, sourceId));
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
subgroupLinks.push(__assign({ source: nameToNode[sourceId], target: nameToNode[sgLink.target_type], exists: 1 }, sgLink));
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
return subgroupLinks;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Given a data dictionary that defines a set of nodes
|
|
35
|
+
* and edges, returns the nodes and edges in correct format
|
|
36
|
+
*
|
|
37
|
+
* @method createNodesAndEdges
|
|
38
|
+
* @param props: Object (normally taken from redux state) that includes dictionary
|
|
39
|
+
* property defining the dictionary as well as other optional properties
|
|
40
|
+
* such as counts_search and links_search (created by getCounts) with
|
|
41
|
+
* information about the number of each type (node) and link (between
|
|
42
|
+
* nodes with a link's source and target types) that actually
|
|
43
|
+
* exist in the data
|
|
44
|
+
* @param createAll: Include all nodes and edges or only those that are populated in
|
|
45
|
+
* counts_search and links_search
|
|
46
|
+
* @param nodesToHide: Array of nodes to hide from graph
|
|
47
|
+
* @returns { nodes, edges } Object containing nodes and edges
|
|
48
|
+
*/
|
|
49
|
+
export function createNodesAndEdges(props, createAll, nodesToHide) {
|
|
50
|
+
if (nodesToHide === void 0) { nodesToHide = ['program']; }
|
|
51
|
+
var dictionary = props.dictionary;
|
|
52
|
+
var nodes = Object.keys(dictionary).filter(function (key) { return !key.startsWith('_') && dictionary[key].type === 'object'
|
|
53
|
+
&& dictionary[key].category !== 'internal' && !nodesToHide.includes(key); }).map(function (key) {
|
|
54
|
+
var count = 0;
|
|
55
|
+
if (props.counts_search) {
|
|
56
|
+
count = props.counts_search["_".concat(key, "_count")];
|
|
57
|
+
}
|
|
58
|
+
return __assign({ name: dictionary[key].title, count: count }, dictionary[key]);
|
|
59
|
+
}).filter(function (node) { return createAll || node.count !== 0; });
|
|
60
|
+
var nameToNode = nodes.reduce(function (db, node) { db[node.id] = node; return db; }, {});
|
|
61
|
+
var hideDb = nodesToHide.reduce(function (db, name) { db[name] = true; return db; }, {});
|
|
62
|
+
var edges = nodes.filter(function (node) { return node.links !== undefined && node.links.length > 0; })
|
|
63
|
+
.reduce(// add each node's links to the edge list
|
|
64
|
+
function (list, node) {
|
|
65
|
+
var newLinks = node.links.map(function (link) { return (__assign({ source: node, target: nameToNode[link.target_type], exists: 1 }, link)); });
|
|
66
|
+
return list.concat(newLinks);
|
|
67
|
+
}, [])
|
|
68
|
+
.reduce(// add link subgroups to the edge list
|
|
69
|
+
function (list, link) {
|
|
70
|
+
var result = list;
|
|
71
|
+
if (link.target) { // "subgroup" link entries in dictionary are not links themselves ...
|
|
72
|
+
result.push(link);
|
|
73
|
+
}
|
|
74
|
+
if (link.subgroup) {
|
|
75
|
+
var sgLinks = getSubgroupLinks(link, nameToNode, link.source.id);
|
|
76
|
+
result = result.concat(sgLinks);
|
|
77
|
+
}
|
|
78
|
+
return result;
|
|
79
|
+
}, [])
|
|
80
|
+
.filter(
|
|
81
|
+
// target type exist and is not in hide list
|
|
82
|
+
function (link) { return (link.target && link.target.id in nameToNode && !(link.target.id in hideDb)); })
|
|
83
|
+
.map(function (link) {
|
|
84
|
+
// decorate each link with its "exists" count if available
|
|
85
|
+
// (number of instances of link between source and target types in the data)
|
|
86
|
+
var res = link;
|
|
87
|
+
res.exists = props.links_search
|
|
88
|
+
? props.links_search["".concat(res.source.id, "_").concat(res.name, "_to_").concat(res.target.id, "_link")]
|
|
89
|
+
: 0;
|
|
90
|
+
return res;
|
|
91
|
+
})
|
|
92
|
+
.filter(
|
|
93
|
+
// filter out if no instances of this link exists and createAll is not specified
|
|
94
|
+
function (link) { return createAll || link.exists || link.exists === undefined; });
|
|
95
|
+
return {
|
|
96
|
+
nodes: nodes,
|
|
97
|
+
edges: edges,
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
;
|
|
101
|
+
/**
|
|
102
|
+
* Find the root of the given graph (no edges out)
|
|
103
|
+
* @method findRoot
|
|
104
|
+
* @param nodes
|
|
105
|
+
* @param edges
|
|
106
|
+
* @return {string} rootName or null if no root
|
|
107
|
+
*/
|
|
108
|
+
export function findRoot(nodes, edges) {
|
|
109
|
+
var couldBeRoot = edges.reduce(function (db, edge) {
|
|
110
|
+
// At some point the d3 force layout converts
|
|
111
|
+
// edge.source and edge.target into node references ...
|
|
112
|
+
var sourceName = typeof edge.source === 'object' ? edge.source.id : edge.source;
|
|
113
|
+
if (db[sourceName]) {
|
|
114
|
+
db[sourceName] = false;
|
|
115
|
+
}
|
|
116
|
+
return db;
|
|
117
|
+
},
|
|
118
|
+
// initialize emptyDb - any node could be the root
|
|
119
|
+
nodes.reduce(function (emptyDb, node) {
|
|
120
|
+
var res = emptyDb;
|
|
121
|
+
res[node.id] = true;
|
|
122
|
+
return res;
|
|
123
|
+
}, {}));
|
|
124
|
+
var rootNode = nodes.find(function (n) { return couldBeRoot[n.id]; });
|
|
125
|
+
return rootNode ? rootNode.id : null;
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* Recursive helper function for getTreeHierarchy
|
|
129
|
+
* Returns the hierarchy of the tree in the form of a map
|
|
130
|
+
* Each (key, value) consists of (node, node's descendants including the node itself)
|
|
131
|
+
* @method getTreeHierarchyHelper
|
|
132
|
+
* @param root
|
|
133
|
+
* @param name2EdgesIn
|
|
134
|
+
* @param hierarchy
|
|
135
|
+
* @return {map}
|
|
136
|
+
*/
|
|
137
|
+
function getTreeHierarchyHelper(node, name2EdgesIn, hierarchy) {
|
|
138
|
+
var descendants = new Set();
|
|
139
|
+
descendants.add(node);
|
|
140
|
+
hierarchy.set(node, descendants);
|
|
141
|
+
name2EdgesIn[node].forEach(function (edge) {
|
|
142
|
+
var sourceName = typeof edge.source === 'object' ? edge.source.id : edge.source;
|
|
143
|
+
if (!hierarchy.get(sourceName)) { // don't want to visit node again
|
|
144
|
+
hierarchy = getTreeHierarchyHelper(sourceName, name2EdgesIn, hierarchy);
|
|
145
|
+
descendants.add(sourceName);
|
|
146
|
+
hierarchy.get(sourceName).forEach(function (n) {
|
|
147
|
+
descendants.add(n);
|
|
148
|
+
});
|
|
149
|
+
}
|
|
150
|
+
});
|
|
151
|
+
hierarchy.set(node, descendants);
|
|
152
|
+
return hierarchy;
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* Returns the hierarchy of the tree in the form of a map
|
|
156
|
+
* Each (key, value) consists of (node, node's descendants including the node itself)
|
|
157
|
+
* @method getTreeHierarchy
|
|
158
|
+
* @param root
|
|
159
|
+
* @param name2EdgesIn
|
|
160
|
+
* @return {map}
|
|
161
|
+
*/
|
|
162
|
+
export function getTreeHierarchy(root, name2EdgesIn) {
|
|
163
|
+
return getTreeHierarchyHelper(root, name2EdgesIn, new Map());
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* Arrange nodes in dictionary graph breadth first, and build level database.
|
|
167
|
+
* If a node links to multiple parents, then place it under the highest parent ...
|
|
168
|
+
* Exported for testing.
|
|
169
|
+
*
|
|
170
|
+
* @param {Array} nodes
|
|
171
|
+
* @param {Array} edges
|
|
172
|
+
* @return { nodesBreadthFirst, treeLevel2Names, name2Level } where
|
|
173
|
+
* nodesBreadthFirst is array of node names, and
|
|
174
|
+
* treeLevel2Names is an array of arrays of node names,
|
|
175
|
+
* and name2Level is a mapping of node name to level
|
|
176
|
+
*/
|
|
177
|
+
export function nodesBreadthFirst(nodes, edges) {
|
|
178
|
+
var result = {
|
|
179
|
+
bfOrder: [],
|
|
180
|
+
treeLevel2Names: [],
|
|
181
|
+
name2Level: {},
|
|
182
|
+
};
|
|
183
|
+
// mapping of node name to edges that point into that node
|
|
184
|
+
var name2EdgesIn = edges.reduce(function (db, edge) {
|
|
185
|
+
// At some point the d3 force layout converts edge.source
|
|
186
|
+
// and edge.target into node references ...
|
|
187
|
+
var targetName = typeof edge.target === 'object' ? edge.target.id : edge.target;
|
|
188
|
+
if (db[targetName]) {
|
|
189
|
+
db[targetName].push(edge);
|
|
190
|
+
}
|
|
191
|
+
else {
|
|
192
|
+
console.error("Edge points to unknown node: ".concat(targetName));
|
|
193
|
+
}
|
|
194
|
+
return db;
|
|
195
|
+
},
|
|
196
|
+
// initialize emptyDb - include nodes that have no incoming edges (leaves)
|
|
197
|
+
nodes.reduce(function (emptyDb, node) {
|
|
198
|
+
var res = emptyDb;
|
|
199
|
+
res[node.id] = [];
|
|
200
|
+
return res;
|
|
201
|
+
}, {}));
|
|
202
|
+
// root node has no edges coming out of it, just edges coming in
|
|
203
|
+
var root = findRoot(nodes, edges);
|
|
204
|
+
if (!root) {
|
|
205
|
+
console.log('Could not find root of given graph');
|
|
206
|
+
return result;
|
|
207
|
+
}
|
|
208
|
+
var processedNodes = new Set(); // account for nodes that link to multiple other nodes
|
|
209
|
+
var queue = [];
|
|
210
|
+
queue.push({ query: root, level: 0 });
|
|
211
|
+
// just 2b safe - could be user gives us a graph without a 'project'
|
|
212
|
+
if (!name2EdgesIn[root]) {
|
|
213
|
+
name2EdgesIn[root] = [];
|
|
214
|
+
}
|
|
215
|
+
var name2ActualLvl = {};
|
|
216
|
+
var hierarchy = getTreeHierarchy(root, name2EdgesIn);
|
|
217
|
+
var _loop_1 = function (head) {
|
|
218
|
+
var _a = queue[head], query = _a.query, level = _a.level; // breadth first
|
|
219
|
+
name2ActualLvl[query] = level;
|
|
220
|
+
name2EdgesIn[query].forEach(function (edge) {
|
|
221
|
+
// At some point the d3 force layout converts edge.source
|
|
222
|
+
// and edge.target into node references ...
|
|
223
|
+
var sourceName = typeof edge.source === 'object' ? edge.source.id : edge.source;
|
|
224
|
+
if (name2EdgesIn[sourceName]) {
|
|
225
|
+
var isAncestor = hierarchy.get(sourceName).has(query);
|
|
226
|
+
// only push node if it is not an ancestor of the current node, or else --> cycle
|
|
227
|
+
if (!isAncestor) {
|
|
228
|
+
queue.push({ query: sourceName, level: level + 1 });
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
else {
|
|
232
|
+
console.log("Edge comes from unknown node ".concat(sourceName));
|
|
233
|
+
}
|
|
234
|
+
});
|
|
235
|
+
};
|
|
236
|
+
// Run through this once to determine the actual level of each node
|
|
237
|
+
for (var head = 0; head < queue.length; head += 1) {
|
|
238
|
+
_loop_1(head);
|
|
239
|
+
}
|
|
240
|
+
// Reset and run for real
|
|
241
|
+
queue = [];
|
|
242
|
+
queue.push({ query: root, level: 0 });
|
|
243
|
+
var _loop_2 = function (head) {
|
|
244
|
+
var _b = queue[head], query = _b.query, level = _b.level; // breadth first
|
|
245
|
+
result.bfOrder.push(query);
|
|
246
|
+
processedNodes.add(query);
|
|
247
|
+
if (result.treeLevel2Names.length <= level) {
|
|
248
|
+
result.treeLevel2Names.push([]);
|
|
249
|
+
}
|
|
250
|
+
result.treeLevel2Names[level].push(query);
|
|
251
|
+
result.name2Level[query] = level;
|
|
252
|
+
name2EdgesIn[query].forEach(function (edge) {
|
|
253
|
+
// At some point the d3 force layout converts edge.source
|
|
254
|
+
// and edge.target into node references ...
|
|
255
|
+
var sourceName = typeof edge.source === 'object' ? edge.source.id : edge.source;
|
|
256
|
+
if (name2EdgesIn[sourceName]) {
|
|
257
|
+
if (!processedNodes.has(sourceName) && name2ActualLvl[sourceName] === (level + 1)) {
|
|
258
|
+
//
|
|
259
|
+
// edge source has not yet been processed via another link from the source
|
|
260
|
+
// to a node higher in the graph
|
|
261
|
+
//
|
|
262
|
+
processedNodes.add(sourceName); // don't double-queue a node
|
|
263
|
+
queue.push({ query: sourceName, level: level + 1 });
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
else {
|
|
267
|
+
console.log("Edge comes from unknown node ".concat(sourceName));
|
|
268
|
+
}
|
|
269
|
+
});
|
|
270
|
+
};
|
|
271
|
+
// queue.shift is O(n), so just keep pushing, and move the head
|
|
272
|
+
for (var head = 0; head < queue.length; head += 1) {
|
|
273
|
+
_loop_2(head);
|
|
274
|
+
}
|
|
275
|
+
return result;
|
|
276
|
+
}
|
|
277
|
+
var placeNodesOnGraph = function (treeLevel2Names, nodesById) {
|
|
278
|
+
var currentX = 0;
|
|
279
|
+
var currentY = 0;
|
|
280
|
+
var xSpacing = 300;
|
|
281
|
+
var ySpacing = 100;
|
|
282
|
+
var positions = [];
|
|
283
|
+
treeLevel2Names.forEach(function (level) {
|
|
284
|
+
level.forEach(function (id) {
|
|
285
|
+
positions.push({
|
|
286
|
+
id: id,
|
|
287
|
+
name: nodesById[id].name,
|
|
288
|
+
x: currentX,
|
|
289
|
+
y: currentY,
|
|
290
|
+
});
|
|
291
|
+
currentY += ySpacing;
|
|
292
|
+
});
|
|
293
|
+
currentY = 0;
|
|
294
|
+
currentX += xSpacing;
|
|
295
|
+
});
|
|
296
|
+
return positions;
|
|
297
|
+
};
|
|
298
|
+
var linksForGraph = function (edges) {
|
|
299
|
+
return edges.map(function (edge) {
|
|
300
|
+
return {
|
|
301
|
+
source: edge.source.id,
|
|
302
|
+
target: edge.target.id,
|
|
303
|
+
};
|
|
304
|
+
});
|
|
305
|
+
};
|
|
306
|
+
//TODO posably get this from somewhere else
|
|
307
|
+
// object of nodes by ID for easy lookup
|
|
308
|
+
var getNodesById = function (nodes) {
|
|
309
|
+
return nodes.reduce(function (db, node) {
|
|
310
|
+
db[node.id] = node;
|
|
311
|
+
return db;
|
|
312
|
+
}, {});
|
|
313
|
+
};
|
|
314
|
+
export var formatDataForGraph = function (categories) {
|
|
315
|
+
//TODO cash all this unchanging data
|
|
316
|
+
var _a = createNodesAndEdges({
|
|
317
|
+
dictionary: categories,
|
|
318
|
+
}, true, []), nodes = _a.nodes, edges = _a.edges;
|
|
319
|
+
var nodeTree = nodesBreadthFirst(nodes, edges);
|
|
320
|
+
console.log('nodes edges', nodes, edges);
|
|
321
|
+
console.log('nodesBreadthFirst', nodeTree);
|
|
322
|
+
var nodesById = getNodesById(nodes);
|
|
323
|
+
var graphData = placeNodesOnGraph(nodeTree.treeLevel2Names, nodesById);
|
|
324
|
+
console.log('placeNodesOnGraph', graphData);
|
|
325
|
+
var graphLinks = linksForGraph(edges);
|
|
326
|
+
console.log('linksForGraph', graphLinks);
|
|
327
|
+
return {
|
|
328
|
+
data: graphData,
|
|
329
|
+
links: graphLinks,
|
|
330
|
+
};
|
|
331
|
+
};
|
|
332
|
+
//# sourceMappingURL=graphViewDataUtils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"graphViewDataUtils.js","sourceRoot":"","sources":["../../../../src/features/Dictionary/graphViewDataUtils.ts"],"names":[],"mappings":";;;;;;;;;;;AA2CA;;;;;;GAMG;AACH,IAAM,gBAAgB,GAAG,UAAC,IAAuB,EAAE,UAElD,EAAE,QAAgB;IACjB,IAAI,aAAa,GAAwB,EAAE,CAAC;IAC5C,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;QAClB,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,UAAC,MAAM;YAC3B,IAAI,MAAM,CAAC,QAAQ,EAAE,CAAC;gBACpB,aAAa,GAAG,aAAa,CAAC,MAAM,CAAC,gBAAgB,CAAC,MAAM,EAAE,UAAU,EAAE,QAAQ,CAAC,CAAC,CAAC;YACvF,CAAC;iBAAM,CAAC;gBACN,aAAa,CAAC,IAAI,YAChB,MAAM,EAAE,UAAU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,OAAO,CAAC,GAAG,CAAC,mBAAmB,EAAE,QAAQ,CAAC,CAAC;IAC3C,IAAM,SAAS,GAAG,YAAY,CAAC,KAAK,CAAC,CAAC;IACtC,IAAM,SAAS,GAAG,iBAAiB,CAAC,QAAQ,CAAC,eAAe,EAAE,SAAS,CAAC,CAAC;IACzE,OAAO,CAAC,GAAG,CAAC,mBAAmB,EAAE,SAAS,CAAC,CAAC;IAC5C,IAAM,UAAU,GAAG,aAAa,CAAC,KAAK,CAAC,CAAC;IACxC,OAAO,CAAC,GAAG,CAAC,eAAe,EAAE,UAAU,CAAC,CAAC;IACzC,OAAO;QACL,IAAI,EAAE,SAAS;QACf,KAAK,EAAE,UAAU;KAClB,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/features/Dictionary/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,oBAAoB,EACpB,cAAc,EACd,eAAe,EACf,kBAAkB,EACnB,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/features/Dictionary/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,oBAAoB,EACpB,cAAc,EACd,eAAe,EACf,kBAAkB,EACnB,MAAM,SAAS,CAAC;AAGjB,eAAO,MAAM,cAAc,GAAI,IAAI,MAAM,EAAE,YAAY,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,QAKnB,CAAC;AAExD,eAAO,MAAM,cAAc,GAAI,YAAY,GAAG,EAAE,YAAY,cAAc,KAO5D,kBAAkB,CAAC,GAAG,CACnC,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,YAAY,cAAc,sBAOhB,CAAC;AAEhD,eAAO,MAAM,gBAAgB,GAC3B,YAAY,MAAM,EAAE,EACpB,YAAY,cAAc,WAK3B,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,GAAI,YAAY,MAAM,KAAG,MAQrD,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,OAAO,MAAM,WAKvC,CAAC;AAEF,eAAO,MAAM,4BAA4B,GAAI,MAAM,oBAAoB,WACrB,CAAC;AAEnD;;;;;;;;;;GAUG;AACH,eAAO,MAAM,4BAA4B,GACvC,IAAI,MAAM,KACT,oBAGF,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,cAAc,GAAI,MAAM,oBAAoB,KAAG,MAC3B,CAAC;AAElC;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB,GAClC,MAAM,eAAe,KACpB,MAAM,CAAC,MAAM,EAAE,kBAAkB,CAanC,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,wCAAwC,GACnD,YAAY,cAAc,KACzB,MAAM,CAAC,MAAM,EAAE,eAAe,CAgBhC,CAAC;AAEF,eAAO,MAAM,sCAAsC,GACjD,KAAK,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,mBAQzB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../src/features/Dictionary/utils.ts"],"names":[],"mappings":";;;;;;;;;;;AAOA,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../src/features/Dictionary/utils.ts"],"names":[],"mappings":";;;;;;;;;;;AAOA,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAEpC,MAAM,CAAC,IAAM,cAAc,GAAG,UAAC,EAAU,EAAE,UAA+B;;IACxE,OAAA,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,GAAG;QACpB,EAAE,KAAK,UAAU,CAAC,EAAE,CAAC,CAAC,EAAE;QACxB,UAAU,CAAC,EAAE,CAAC,CAAC,QAAQ;QACvB,UAAU,CAAC,EAAE,CAAC,CAAC,EAAE;QACjB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,CAAC,CAAC;QAChC,IAAI,CAAC,IAAI,CAAC,UAAU;YAAE,OAAO,IAAI,CAAC;QAClC,6BACK,IAAI,KACP,UAAU,EAAE,uBAAuB,CAAC,IAAI,CAAC,IACzC;IACJ,CAAC,CAAC;SACD,MAAM,CAAC,UAAC,GAAG,EAAE,IAAI;QAChB,IAAI,CAAC,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,EAAE,CAAA;YAAE,OAAO,GAAG,CAAC;QAC1B,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC;QACpB,OAAO,GAAG,CAAC;IACb,CAAC,EAAE,EAAqC,CAAC,CAAC;IAC5C,OAAO,GAAG,CAAC;AACb,CAAC,CAAC;AAEF,MAAM,CAAC,IAAM,sCAAsC,GAAG,UACpD,GAAwB;IAExB,OAAO,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,UAAC,GAAG,EAAE,GAAG;QACtC,IAAI,cAAc,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE,CAAC;YAC7B,GAAG,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;QACtB,CAAC;QACD,OAAO,GAAG,CAAC;IACb,CAAC,EAAE,EAAoB,CAAC,CAAC;AAC3B,CAAC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/
|
|
1
|
+
import type { StoryObj } from '@storybook/nextjs';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
component: ({ buttonConfig, selectedResources, exportDataFields, dataLibraryStoreMode, classNames, }: import("./types").ExportActionButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
parameters: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AddToDataLibrary.stories.d.ts","sourceRoot":"","sources":["../../../../../src/features/Discovery/ActionBar/AddToDataLibrary.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"AddToDataLibrary.stories.d.ts","sourceRoot":"","sources":["../../../../../src/features/Discovery/ActionBar/AddToDataLibrary.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAIxD,QAAA,MAAM,IAAI;;;;;;;CAK+B,CAAC;AAE1C,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KA4CrB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/
|
|
1
|
+
import type { StoryObj } from '@storybook/nextjs';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
component: import("react").ForwardRefExoticComponent<import("./DataLibraryActionButton").ExportActionButtonProps & import("@mantine/core").ButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
4
4
|
parameters: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataLibraryActionButton.stories.d.ts","sourceRoot":"","sources":["../../../../../src/features/Discovery/ActionBar/DataLibraryActionButton.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"DataLibraryActionButton.stories.d.ts","sourceRoot":"","sources":["../../../../../src/features/Discovery/ActionBar/DataLibraryActionButton.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAIxD,QAAA,MAAM,IAAI;;;;;;;CAKsC,CAAC;AAEjD,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/
|
|
1
|
+
import type { StoryObj } from '@storybook/nextjs';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
component: ({ rightSection, leftSection, classNames, }: import("./types").FooterProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
title: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Footer.stories.d.ts","sourceRoot":"","sources":["../../../../../src/features/Navigation/Footer/Footer.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Footer.stories.d.ts","sourceRoot":"","sources":["../../../../../src/features/Navigation/Footer/Footer.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAIxD,QAAA,MAAM,IAAI;;;;;;;;CAMqB,CAAC;AAEhC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAmCrB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/
|
|
1
|
+
import type { StoryObj } from '@storybook/nextjs';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
4
|
component: ({ name, leftIcon, rightIcon, iconSize, tooltip, classNames, clickHandler, ariaLabel, }: import("./IconButton").TopIconButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconButton.stories.d.ts","sourceRoot":"","sources":["../../../../../src/features/Navigation/TopBar/IconButton.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"IconButton.stories.d.ts","sourceRoot":"","sources":["../../../../../src/features/Navigation/TopBar/IconButton.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAIxD,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4ByB,CAAC;AAEpC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAOrB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/
|
|
1
|
+
import type { StoryObj } from '@storybook/nextjs';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
component: ({ items, loginButtonVisibility, externalLoginUrl, classNames, itemClassnames, }: import("./TopBar").TopBarProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
title: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TopBar.stories.d.ts","sourceRoot":"","sources":["../../../../../src/features/Navigation/TopBar/TopBar.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"TopBar.stories.d.ts","sourceRoot":"","sources":["../../../../../src/features/Navigation/TopBar/TopBar.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAIxD,QAAA,MAAM,IAAI;;;;;;;;CAMqB,CAAC;AAEhC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAiCrB,CAAC"}
|
package/dist/dts/index.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ import { registerCohortSimilarityApp } from './features/CohortSimilarity/registe
|
|
|
23
23
|
import { registerMetadataSchemaApp } from './features/Dictionary';
|
|
24
24
|
import { CollapsableSidebar } from './components/CollapsableSidebar';
|
|
25
25
|
import { DropdownWithIcon } from './components/DropdownWithIcon/DropdownWithIcon';
|
|
26
|
-
import { ActionButton, DropdownButton, Gen3Button, Gen3ButtonReverse, UploadJSONButton } from './components/Buttons';
|
|
26
|
+
import { ActionButton, DownloadButton, DropdownButton, Gen3Button, Gen3ButtonReverse, JSONObjectDownloadButton, UploadJSONButton } from './components/Buttons';
|
|
27
27
|
import CountsValue from './components/counts/CountsValue';
|
|
28
28
|
import SegmentedControl from './components/SegmentedControl';
|
|
29
29
|
import TopBar from './features/Navigation/TopBar/TopBar';
|
|
@@ -63,6 +63,7 @@ import CrosswalkPage from './pages/Crosswalk';
|
|
|
63
63
|
import { CrosswalkPageGetServerSideProps } from './pages/Crosswalk/data';
|
|
64
64
|
import TabbedCohortBuilderPage from './pages/TabbedCohortBuilder';
|
|
65
65
|
import { TabbedCohortBuilderPageGetServerSideProps } from './pages/TabbedCohortBuilder/data';
|
|
66
|
+
import RepositoryPage, { RepositoryPageGetServerSideProps } from './pages/Repository';
|
|
66
67
|
import { TailwindConfig } from './utils/tailwindConfig';
|
|
67
68
|
import sessionToken from './api/auth/sessionToken';
|
|
68
69
|
import sessionLogout from './api/auth/sessionLogout';
|
|
@@ -70,5 +71,5 @@ import credentialsLogin from './api/auth/credentialsLogin';
|
|
|
70
71
|
import credentialsLogout from './api/auth/credentialsLogout';
|
|
71
72
|
import analysisApiCohortDiscovery from './features/CohortDiscovery/api/analysisApiCohortDiscovery';
|
|
72
73
|
import staticNotebookAPI from './features/StaticNotebook/api/staticNotebookAPI';
|
|
73
|
-
export { ContentSource, type Fonts, type RegisteredIcons, type SessionConfiguration, type ExplorerPageProps, type AnalysisPageLayoutProps, CollapsableSidebar, DropdownButton, DropdownWithIcon, SegmentedControl, Gen3Button, Gen3ButtonReverse, UploadJSONButton, ActionButton, ErrorCard, TopBar, CountsValue, DiscoveryPage, DiscoveryPageGetServerSideProps, QueryPage, QueryPageGetServerSideProps, LandingPage, LandingPageGetServerSideProps, ColorThemePage, ColorThemePageGetServerSideProps, DictionaryPage, DictionaryPageGetServerSideProps, ExplorerPage, ExplorerPageGetServerSideProps, ExplorerPageGetServerSidePropsForConfigId, ProfilePage, ProfilePageGetServerSideProps, LoginPage, LoginPageGetServerSideProps, TailwindConfig, Gen3Provider, getNavPageLayoutPropsFromConfig, AuthzPage, AdminAuthZPageGetServerSideProps, WorkspacePage, WorkspacePageGetServerSideProps, WorkspaceNoAccessPage, WorkspaceNoAccessPageServerSideProps, AnalysisPage, AnalysisPageGetServerSideProps, Custom404Page, sessionToken, sessionLogout, credentialsLogin, credentialsLogout, createMantineTheme, AiSearchPage, AISearchPageGetServerSideProps, CrosswalkPage, CrosswalkPageGetServerSideProps, SubmissionPage, SubmissionPageGetServerSideProps, DataLibraryPage, DataLibraryPageGetServerSideProps, NotebookLitePage, NotebookLitePageGetStaticProps, registerMetadataSchemaApp, AnalysisEditorPage, AnalysisEditorPageGetServerSideProps, TabbedCohortBuilderPage, TabbedCohortBuilderPageGetServerSideProps, registerCohortDiscoveryApp, registerCohortSimilarityApp, analysisApiCohortDiscovery, staticNotebookAPI, };
|
|
74
|
+
export { ContentSource, type Fonts, type RegisteredIcons, type SessionConfiguration, type ExplorerPageProps, type AnalysisPageLayoutProps, CollapsableSidebar, DownloadButton, JSONObjectDownloadButton, DropdownButton, DropdownWithIcon, SegmentedControl, Gen3Button, Gen3ButtonReverse, UploadJSONButton, ActionButton, ErrorCard, TopBar, CountsValue, DiscoveryPage, DiscoveryPageGetServerSideProps, QueryPage, QueryPageGetServerSideProps, LandingPage, LandingPageGetServerSideProps, ColorThemePage, ColorThemePageGetServerSideProps, DictionaryPage, DictionaryPageGetServerSideProps, ExplorerPage, ExplorerPageGetServerSideProps, ExplorerPageGetServerSidePropsForConfigId, ProfilePage, ProfilePageGetServerSideProps, LoginPage, LoginPageGetServerSideProps, TailwindConfig, Gen3Provider, getNavPageLayoutPropsFromConfig, AuthzPage, AdminAuthZPageGetServerSideProps, WorkspacePage, WorkspacePageGetServerSideProps, WorkspaceNoAccessPage, WorkspaceNoAccessPageServerSideProps, AnalysisPage, AnalysisPageGetServerSideProps, Custom404Page, sessionToken, sessionLogout, credentialsLogin, credentialsLogout, createMantineTheme, AiSearchPage, AISearchPageGetServerSideProps, CrosswalkPage, CrosswalkPageGetServerSideProps, SubmissionPage, SubmissionPageGetServerSideProps, DataLibraryPage, DataLibraryPageGetServerSideProps, NotebookLitePage, NotebookLitePageGetStaticProps, registerMetadataSchemaApp, AnalysisEditorPage, AnalysisEditorPageGetServerSideProps, TabbedCohortBuilderPage, TabbedCohortBuilderPageGetServerSideProps, RepositoryPage, RepositoryPageGetServerSideProps, registerCohortDiscoveryApp, registerCohortSimilarityApp, analysisApiCohortDiscovery, staticNotebookAPI, };
|
|
74
75
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/dts/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AAEnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AAEvC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC;AACzC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,UAAU,CAAC;AAEzB,OAAO,EAAE,+BAA+B,EAAE,MAAM,0BAA0B,CAAC;AAC3E,OAAO,aAAa,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAChE,OAAO,EAAE,KAAK,KAAK,EAAE,KAAK,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACvE,OAAO,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